php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #50577 get_object_vars return value missing FALSE
Submitted: 2009-12-26 09:52 UTC Modified: 2009-12-26 18:14 UTC
From: hanskrentel at yahoo dot de Assigned: kalle (profile)
Status: Closed Package: Documentation problem
PHP Version: 5.2.12 OS: win
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hanskrentel at yahoo dot de
New email:
PHP Version: OS:

 

 [2009-12-26 09:52 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-26 18:13 UTC] 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 18:14 UTC] kalle@php.net
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()
 [2020-02-07 06:09 UTC] phpdocbot@php.net
Automatic comment on behalf of kalle
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=b2345569a8b8cb83271ff4be42b78f588da85200
Log: Fixed bug #50577 (get_object_vars return value missing FALSE)
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 16:00:01 2026 UTC