3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $america = array( array('Sloppy Joe', '1'), array('Hamburguesa', '2'), array('Cheesesteak', '3'), array('Corn dog', '4'), array('Pollo frito', '5'), array('Ensalada de col', '6'), array('Shoofly pie', '7'), array('Doughnut', '8'), array('Pastel de calabaza', '9'), array('Brownie', '10'), ); foreach($america as $a => $b) { echo $b; }
Output for 5.4.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/rNk2H on line 19 Array Notice: Array to string conversion in /in/rNk2H on line 19 Array Notice: Array to string conversion in /in/rNk2H on line 19 Array Notice: Array to string conversion in /in/rNk2H on line 19 Array Notice: Array to string conversion in /in/rNk2H on line 19 Array Notice: Array to string conversion in /in/rNk2H on line 19 Array Notice: Array to string conversion in /in/rNk2H on line 19 Array Notice: Array to string conversion in /in/rNk2H on line 19 Array Notice: Array to string conversion in /in/rNk2H on line 19 Array Notice: Array to string conversion in /in/rNk2H on line 19 Array
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.3.29
ArrayArrayArrayArrayArrayArrayArrayArrayArrayArray