3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = floatval('1.1'); echo $test; if ( is_numeric($test) { echo "test"; }
Output for 5.3.0 - 5.3.19, 5.4.0 - 5.4.9
Parse error: syntax error, unexpected '{' in /in/VgE2T on line 7
Process exited with code 255.

preferences:
172.48 ms | 1395 KiB | 37 Q