3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sAmount = (string)1999; $dAmount1 = 19.99 * 100; $dAmount2 = (double)(19.99 * 100); var_dump( $sAmount == $dAmount1, $sAmount == $dAmount2, );
Output for 5.4.18 - 5.4.19
Parse error: syntax error, unexpected ')' in /in/VCSJB on line 10
Process exited with code 255.
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected ')' in /in/2JnoL on line 10
Process exited with code 255.