Hi,

Even if you reverse your phase and neutral the zero crossing detector will work. But be extremely careful while testing your circuit cause fatal voltages are there. Also to make measurements with a scope you need an isolation transformer or a scope with floating inputs (balanced probes perhaps).