#50577 [Asn->Csd]: get_object_vars return value missing FALSE

From: Date: Sat, 26 Dec 2009 18:14:12 +0000
Subject: #50577 [Asn->Csd]: get_object_vars return value missing FALSE
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3570@lists.php.net to get a copy of this message
ID: 50577 Updated by: kalle@php.net Reported By: hanskrentel at yahoo dot de -Status: Assigned +Status: Closed Bug Type: Documentation problem Operating System: win PHP Version: 5.2.12 Assigned To: kalle 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. Documented in the Changelog for get_object_vars() Previous Comments: ------------------------------------------------------------------------ [2009-12-26 18:13:49] svn@php.net Automatic comment from SVN on behalf of kalle Revision: http://svn.php.net/viewvc/?view=revision&revision=292660 Log: Fixed bug #50577 (get_object_vars return value missing FALSE) ------------------------------------------------------------------------ [2009-12-26 09:52:41] hanskrentel at yahoo dot de Description: ------------ get_object_vars has array as documented return type. while running var_dump(get_object_vars(NULL)); it reported to me boolean false. I think some documentation is missing here. Reproduce code: --------------- --- From manual page: function.get-object-vars --- var_dump(get_object_vars(NULL)); Expected result: ---------------- array (I do not expect that, but the documentation) Actual result: -------------- boolean false ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50577&edit=1

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