php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #39590 strtotime() now returns false should be noted in upgrade guide
Submitted: 2006-11-22 15:58 UTC Modified: 2007-01-22 02:57 UTC
From: jose at electricsurfer dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jose at electricsurfer dot com
New email:
PHP Version: OS:

 

 [2006-11-22 15:58 UTC] jose at electricsurfer dot com
Description:
------------
http://www.php.net/manual/en/function.strtotime.php

strtotime()

Notes:
5.1.0	 It now returns FALSE on failure, instead of -1.


This should be noted in the upgrade guides as it breaks backward compatibility.

http://www.php.net/UPDATE_5_2.txt
http://www.php.net/README_UPGRADE_51.php#date



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 10:01:34 2025 UTC