3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a_very_very_long_variable_name = "short"; $arr = array($a_very_very_long_variable_name => "value"); $$a_very_very_long_variable_name = "key2"; $arr[$$a_very_very_long_variable_name] = "val2"
Output for 5.4.0 - 5.4.22
Parse error: syntax error, unexpected end of file in /in/BT3ei on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end in /in/BT3ei on line 7
Process exited with code 255.

preferences:
191.41 ms | 1386 KiB | 58 Q