- var_dump: documentation ( source)
- explode: documentation ( source)
- date: documentation ( source)
- strtotime: documentation ( source)
<?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);
This script was stopped while abusing our resources