3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $numbers[0] = 5; for($i=1; $i <= 6]; $i++) { echo $i; }
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected ']', expecting ';' in /in/IUlRg on line 4
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 ';' in IUlRg on line 4
Process exited with code 255.