3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Source: https://bugs.php.net/bug.php?id=62476 $a = array() for ($d=55; $d<65; $d++) { $a[$d] = $d; }
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected 'for' (T_FOR) in /in/adhXb on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_FOR in /in/adhXb on line 4
Process exited with code 255.