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; foreach ($array as $key => $value) { echo $key; } )
Output for 5.3.0 - 5.3.24, 5.4.0 - 5.4.15
Parse error: syntax error, unexpected ')' in XfToE on line 15
Process exited with code 255.
Output for 5.3.25
Parse error: syntax error, unexpected ')' in /in/oAaiQ on line 15
Process exited with code 255.

preferences:
178.25 ms | 1395 KiB | 49 Q