3v4l.org

run code in 300+ PHP versions simultaneously
<?php $player = array( array('name' => 'mello', 'nr' => 1 , 'cash' => 0), array('name' => 'nakas', 'nr' => 2 , 'cash' => 200) ); for($i = 0, $len = count($player); $i < $len; ++$i) { echo $player[$i]['name'] ' ' $player[$i]['cash'] ; } ?>
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected '' '' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ';' in /in/OMkA6 on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /in/OMkA6 on line 8
Process exited with code 255.

preferences:
173.64 ms | 1395 KiB | 43 Q