php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #48040 php min version wrong for date_default_timezone_set/get
Submitted: 2009-04-22 01:42 UTC Modified: 2009-04-22 18:58 UTC
From: justincwatt at gmail dot com Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2009-04-22 01:42 UTC] justincwatt at gmail dot com
Description:
------------
The documentation for date_default_timezone_set currently states that this function was available as of (PHP 5 >= 5.2.0).

However this is contradicted by the changelog that states that the "timezone_identifier" parameter was added as of 5.1.2. And it currently works on the latest version of PHP 5.1 available through RHEL5.

This error also exists for date_default_timezone_get, which works on PHP 5.1 in RHEL5.

Expected result:
----------------
I believe the docs should say that these functions were available as of (PHP 5 >= 5.1.0).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-22 18:58 UTC] kalle@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 21:00:02 2026 UTC