The integer and floatval opcodes div, fdiv, and cmod now all throw a E_ZeroDivisionError exception with the text "Divide by zero". JIT/i386 and JIT/ppc are also adapted accordingly.

Updates for Integer, Float, Complex, BigInt PMCs are welcome.

leo


Reply via email to