3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = strtotime('04-03-12'); $end = strtotime('15-06-12'); For($i = $start; $i<=$end;){ List($y, $m, $d) = explode(" ", date("Y m d", $i)); $arr[$y][$m][$d] = 1; $i += 86400; } Var_dump($arr);

Abusive script

This script was stopped while abusing our resources


preferences:
22.58 ms | 407 KiB | 5 Q