3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(bcadd(1.05648055,-1.00000545,9)); var_dump(bcadd(0.05648055,-0.09993545,9)); var_dump((string) -0.09993545); var_dump(bcadd(0.05648055,-0.00993545,9)); var_dump((string) -0.00993545); var_dump(bcadd(0.05648055,-0.00093545,9)); var_dump((string) -0.00093545); var_dump(bcadd(0.05648055,-0.00003545,9)); var_dump((string) -0.00003545); var_dump(bcadd(0.05648055,-0.00000045,9)) var_dump((string) -0.00000045); var_dump(bcadd(0.05648055,-0.00000005,9)); var_dump((string) -0.00000005);
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected 'var_dump' (T_STRING) in /in/Jl54v on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/Jl54v on line 12
Process exited with code 255.