3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $arr = array(); $arr[1][1] = 666; foreach($arr as $a) { echo $a; } echo "done";
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/Jq9FO on line 6 Arraydone
Output for 4.3.0 - 5.3.29
Arraydone