3v4l.org

run code in 300+ PHP versions simultaneously
<?php $people = array( array('name' => 'Kalle', 'salt' => 856412), array('name' => 'Pierre', 'salt' => 215863) ); for($i = 0, $size = count($people); $i < $size; ++$i) { $people[$i]['salt'] = mt_rand(000000, 999999); } }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '}' in /in/Qa2va on line 10
Process exited with code 255.

preferences:
180.93 ms | 1395 KiB | 66 Q