3v4l.org

run code in 300+ PHP versions simultaneously
<?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("tomorrow"); echo date("Y-m-d h:i:sa", $d) . "<br>"; $d=strtotime("next Saturday"); echo date("Y-m-d h:i:sa", $d) . "<br>"; $d=strtotime("+3 Months"); echo date("Y-m-d h:i:sa", $d) . "<br>";

preferences:
46.36 ms | 402 KiB | 5 Q