Phosphonyl hydrazones react with DMF/POCl3 to afford 3-phos-phonyl pyrazole
s. Phosphonyl methylene hydrazones react with DMF/POCl3 to provide P-phosph
onyl pyrazoles. 5-phosphonyl pyrazoles are obtained from the reaction of ph
osphonyl chlorovinylaldchydes with phenylhydrazine.