#47899 [Opn->Csd]: DateTimeZone::listIdentifiers() documentation is ambigious

From: Date: Sun, 21 Jun 2009 20:43:00 +0000
Subject: #47899 [Opn->Csd]: DateTimeZone::listIdentifiers() documentation is ambigious
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2386@lists.php.net to get a copy of this message
 ID:               47899
 Updated by:       bjori@php.net
 Reported By:      hackwar at freenet dot de
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Windows
 PHP Version:      Irrelevant
 New Comment:

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.




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

[2009-04-14 22:19:51] bj at treelinegroup dot com

In addition to the comment above, the whole DateTime OO section of the
documentation is very poorly written and confusing. For example,
DateTimeZone::listIdentifiers() is identified as only PHP >= 5.3.0,
however the function itself works in 5.2.8. However, the function
prototype listed on the detail page for this class apparently does not
work, and since there is no BC information on these pages, there is no
way to know what the function prototype actually is prior to 5.3.0. It
also lists class constants that are available here, but they do not work
in 5.2.8 which is problematic when trying to use the documentation.

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

[2009-04-05 12:15:01] hackwar at freenet dot de

Description:
------------
In the documentation, this function is marked as being available from
5.3.0 upwards, but it already works in my 5.2.8 shipped with the WAMP
stack from XAMPP:
http://us2.php.net/manual/de/datetimezone.listidentifiers.php

Since I want to use this function for a larger open source project
which needs to be compatible from 5.2.0 onwards, I need to know if this
is a glitch in my PHP 5.2.8 or if the documentation is broken, in which
case I need to find another way to solve my issue. :-)

Thanks for your help.



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


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



Thread (3 messages)

« previous php.doc.bugs (#2386) next »