3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $aaa = $bbb = array(1, 2, 3); foreach ($aaa as $a) { $bbb[]; }
Output for 4.3.2 - 5.4.34
Fatal error: Cannot use [] for reading in /in/eEZmK on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot use [] for reading in /in/eEZmK on line 5