3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 1111111.505; $round = round($a, 2); $sprintf = sprintf('%01.2F', $a); echo bcmul($round, 100). "\n"; echo bcmul($sprintf, 100). "\n";$
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or '$' in /in/q2RSj on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end, expecting T_VARIABLE or '$' in /in/q2RSj on line 6
Process exited with code 255.