3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $names = new array(); for(var i = 0; i < 48; i++) { $names[i] = "foo"; }; ?>
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'array' (T_ARRAY) in /in/cJKUM on line 1
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_ARRAY in /in/cJKUM on line 1
Process exited with code 255.