3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $float = 500.10; var_dump(gettype($float), $float, gettype($float) == 'float', (float) $float, // Cast to float (int) $float, // Cast to integer
Output for 5.4.0 - 5.4.21
Parse error: syntax error, unexpected end of file in /in/oAHsv on line 9
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end in /in/oAHsv on line 9
Process exited with code 255.