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

From: Date: Sat, 26 Dec 2009 12:14:08 +0000
Subject: #50577 [Opn->Asn]: get_object_vars return value missing FALSE
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3569@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: Open +Status: Assigned Bug Type: Documentation problem Operating System: win PHP Version: 5.2.12 -Assigned To: +Assigned To: kalle Previous Comments: ------------------------------------------------------------------------ [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 (#3569) next »