3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump((int)'10'); var_dump((int)'10.2'); var_dump((int)'abc10'); var_dump((int)'10abc'); var_dump((int)'abc10.2'); var_dump((int)'10.2abc'
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected end of file in /in/Jd0EY on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/Jd0EY on line 7
Process exited with code 255.