Monthly Archives: February 2007

I am not amused

I am working on a codebase developed by an ex-employee, correcting code like: 1 2 3 4 5 6 7 8 9 10 $x = $y = 0; while ($x < $interval + 1) { $looped_date = date(’Y-m-d’, mktime(0, 0, 0, date(’m’), date(’d’) + $y, date(’Y’)); $formatted_looped_date = implode(’/’, array_reverse(explode(’-‘, $looped_date))); $looped_date = implode(”, array_reverse(explode(’/’, […]