3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (int) "100g"; echo 1024 * "2k":
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected ':', expecting ',' or ';' in /in/ICB7c on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.4.0 - 5.4.12
Parse error: syntax error, unexpected ':', expecting ',' or ';' in V28Vm on line 3
Process exited with code 255.