3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $cars=array(array("bmw",20,10,20),array("benz",30,10,0),array("gator",20,40,9),array("ferrari",15,60,18)); for ($row = 0; $row < 4; $row++) { for ($col = 0; $col < 4; $col++) { echo $cars[$row][$col]; } } echo "\n"; $d=strtotime("10:30pm April 15 2014"); echo "Created date is " . date("Y-m-d h:i:sa", $d);
based on FbEH1
Output for 4.3.0 - 7.1.0
bmw201020benz30100gator20409ferrari156018 Created date is 2014-04-15 10:30:00pm