ID:               35499
 Updated by:       [EMAIL PROTECTED]
 Reported By:      stabthecat at hotmail dot com
-Status:           Assigned
+Status:           Closed
 Bug Type:         Date/time related
 Operating System: Windows / Linux
 PHP Version:      5.1.1
 Assigned To:      iliaa
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2005-12-01 14:55:24] [EMAIL PROTECTED]

http://mega.ist.utl.pt/~ncpl/php_35499_patch.txt

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

[2005-12-01 01:22:59] stabthecat at hotmail dot com

Description:
------------
Since version 5.1

strtotime("11/20/2005 8:00 AM\r\n"); 

fails, and returns null

strtotime(trim("11/20/2005 8:00 AM\r\n")); 

fixes it




Reproduce code:
---------------
print(strtotime("11/20/2005 8:00 AM\r\n")); 


Expected result:
----------------
1132488000



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


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

Reply via email to