3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_array = array(); $my_array[id] = 4127 ; $my_array[nick] = 'Jonas'; $my_array[dte79855545] = 5; print_r(array_keys($my_Array)); )
Output for 5.3.0 - 5.3.24, 5.4.0 - 5.4.15
Parse error: syntax error, unexpected ')' in 8Y9jc on line 12
Process exited with code 255.
Output for 5.3.25
Parse error: syntax error, unexpected ')' in /in/Ibl8N on line 12
Process exited with code 255.

preferences:
204.03 ms | 1395 KiB | 49 Q