3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a[-99] = 'bilk'; $[18446744073709551517] = 'bode'; var_export($a);
Output for 5.4.0 - 5.4.11
Parse error: syntax error, unexpected '[', expecting variable (T_VARIABLE) or '$' in /in/4D9Gd on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.21
Parse error: syntax error, unexpected '[', expecting T_VARIABLE or '$' in /in/4D9Gd on line 3
Process exited with code 255.

preferences:
173.77 ms | 1395 KiB | 41 Q