mktime()
argument order (not inconsistent, just confusing)
php mktime's argument order is ridiculous:
int mktime ([ int $hour = date("H") [, int $minute = date("i") [, int $second = date("s") [, int $month = date("n") [, int $day = date("j") [, int $year = date("Y") [, int $is_dst = -1 ]]]]]]] )
That is: hour, minute, second, month, day, year, dst
For reference, Perl's is:
mktime(sec, min, hour, mday, mon, year, wday = 0, yday = 0, isdst = 0)