note 80906 deleted from function.mktime by felipe

From: Date: Wed, 06 Feb 2008 23:30:19 +0000
Subject: note 80906 deleted from function.mktime by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-135832@lists.php.net to get a copy of this message
Note Submitter: imants dot horsts at inbox dot lv ---- mktime() function have probably some kind of bug. Try this: echo mktime(09,06,08,02,05,2008).'<br>'; echo mktime(9,6,8,2,5,2008); Result: 1202162760 1202195168 So? What's the difference? The only difference is with leading zeros!!! I just dropped whole day at work to find such bug, damn :)

« previous php.notes (#135832) next »