#36640 [Opn->Csd]: get_parent_class() return different result on 504 and 512
| From: | vrana@php.net | Date: | Tue, 07 Mar 2006 08:32:20 +0000 |
| Subject: | #36640 [Opn->Csd]: get_parent_class() return different result on 504 and 512 | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969372281@lists.php.net to get a copy of this message | ||
ID: 36640
Updated by: vrana@php.net
Reported By: happyaccident at citiz dot net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: redhat7.3
PHP Version: 5.1.2
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.
"If called without parameter outside object, this function returns
FALSE (or NULL with a warning before PHP 5.1.0)."
Previous Comments:
------------------------------------------------------------------------
[2006-03-07 08:40:38] tony2001@php.net
Reclassified as docu problem.
------------------------------------------------------------------------
[2006-03-07 06:58:47] happyaccident at citiz dot net
Description:
------------
var_dump(get_parent_class()) return different result on php version
5.0.4 and 5.1.2, but it's not mentioned on php manual.
Reproduce code:
---------------
<?php
var_dump(get_parent_class());
?>
Actual result:
--------------
php5.0.4: Warning: Wrong parameter count for
get_parent_class()..............
php5.1.2: bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36640&edit=1