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.4.0 - 5.4.15
Parse error: syntax error, unexpected 'print_r' (T_STRING) in /in/v3gcE on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.25
Parse error: syntax error, unexpected T_STRING in /in/v3gcE on line 11
Process exited with code 255.

preferences:
186.03 ms | 1386 KiB | 49 Q