Synthesis of phthalazinones via palladium(II)-catalysed intramolecular oxidative C-H/C-H cross-coupling of N'-methylenebenzohydrazides.