3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array( 0 => array('0a','0b','0c','0d','0e'), 1 => array('1a','1b','1c','1d','1e'), 2 => array('2a','2b','2c','2d','2e'), ); foreach($array as $item){ echo $item; }
based on qngEh
Output for 5.4.0 - 7.2.0
Notice: Array to string conversion in /in/ctmsq on line 10 Array Notice: Array to string conversion in /in/ctmsq on line 10 Array Notice: Array to string conversion in /in/ctmsq on line 10 Array
Output for 4.3.0 - 5.3.29
ArrayArrayArray