note 108062 deleted from function.mktime by danbrown

From: Date: Tue, 27 Mar 2012 15:35:11 +0000
Subject: note 108062 deleted from function.mktime by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-186856@lists.php.net to get a copy of this message
Note Submitter: krebs dot seb at googlemail dot com ---- @tothpeter at fbi dot hu If you preceed an integer with '0' it's treated as an octal value, but "8" or "9" don't exists here. Just try var_dump(07); // "7" var_dump(08); // "0" var_dump(09); // "0" Now you have "0" as month, which means: Last month of last year. Nothing mysterious here

« previous php.notes (#186856) next »