note 89808 added to function.mktime

From: Date: Tue, 24 Mar 2009 10:03:29 +0000
Subject: note 89808 added to function.mktime
Groups: php.notes 
Request: Send a blank email to php-notes+get-152371@lists.php.net to get a copy of this message
One important change have been made recently ( http://bugs.php.net/bug.php?id=46732 ) It appears that PHP API is more inconsistant right now because it is not possible to pass result of localtime to mktime function !! Until the change it was possible to do this pass values like 109 for year 2009. Some old code can stop working because of this. ( I completely agree that it is documented so using mktime in this way is an error, but it is much more logical to keep it in an old form ) ---- Server IP: 213.249.64.162 Probable Submitter: 94.100.112.225 ---- Manual Page -- http://www.php.net/manual/en/function.mktime.php Edit -- https://master.php.net/note/edit/89808 Del: integrated -- https://master.php.net/note/delete/89808/integrated Del: useless -- https://master.php.net/note/delete/89808/useless Del: bad code -- https://master.php.net/note/delete/89808/bad+code Del: spam -- https://master.php.net/note/delete/89808/spam Del: non-english -- https://master.php.net/note/delete/89808/non-english Del: in docs -- https://master.php.net/note/delete/89808/in+docs Del: other reasons-- https://master.php.net/note/delete/89808 Reject -- https://master.php.net/note/reject/89808 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#152371) next »