|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-22 05:15 UTC] joey at cvs dot php dot net
[2000-06-13 23:15 UTC] andrei at cvs dot php dot net
[2002-06-22 14:19 UTC] ldprice at attbi dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 07:00:01 2025 UTC |
mktime() returns with -1 if year is less than 1970. If embedded in a call to the date() function, it will crash the scripting engine. this call will return -1: mktime(0,0,0,10,24,1969); this call returns valid timestamp: mktime(0,0,0,10,24,1970); this will crash the PHP engine: date("l, jS F, Y", mktime(0,0,0,10,24,1969));