ID:               34806
 Updated by:       [EMAIL PROTECTED]
 Reported By:      alex at magickal dot co dot uk
-Status:           Open
+Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Windows XP
 PHP Version:      5.1.0RC1
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #34805



Previous Comments:
------------------------------------------------------------------------

[2005-10-10 12:11:53] alex at magickal dot co dot uk

Description:
------------
strtotime converts dates into nice handlable integers. This should work
on ALL dates. I can see no reason whatsoever why it should cease half
way through a century! Its a bit too much like the millenium bug!

And as such IS a bug.

Alex


Reproduce code:
---------------
$defaultdate = strtotime("01 January 2050");
echo $defaultdate;



Expected result:
----------------
expected result would be an integer NOT -1.

Actual result:
--------------
-1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34806&edit=1

Reply via email to