|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #63061 Provide a specific error message if date.timezone value is invalid
Submitted: 2012-09-11 09:37 UTC Modified: 2012-09-11 10:03 UTC
From: simon at welsh dot co dot nz Assigned: laruence (profile)
Status: Closed Package: Date/time related
PHP Version: 5.4.6 OS: N/A
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: simon at welsh dot co dot nz
New email:
PHP Version: OS:


 [2012-09-11 09:37 UTC] simon at welsh dot co dot nz
Rather than failing with the generic "it's bad to use the system timezone value, 
set date.timezone" when date.timezone is set, but incorrectly, fail telling the 
user that.

GitHub pull request at


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-11 10:03 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

 [2012-09-11 10:03 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon May 29 18:03:42 2023 UTC