ID:               36640
 Updated by:       [EMAIL PROTECTED]
 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] [EMAIL PROTECTED]

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

Reply via email to