|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42814 get_object_vars() fails again on private scope
Submitted: 2007-10-01 13:08 UTC Modified: 2007-10-11 01:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:1 (33.3%)
From: patrick dot stadler at gmail dot com Assigned: dmitry (profile)
Status: No Feedback Package: Class/Object related
PHP Version: 5.2.4 OS: Debian Stable
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: patrick dot stadler at gmail dot com
New email:
PHP Version: OS:


 [2007-10-01 13:08 UTC] patrick dot stadler at gmail dot com
It seems that is back again with PHP 5.2.4. 

5.2.4 : get_object_vars($this) does _not_ return private vars.
5.2.3 : get_object_vars($this) does return private vars.

Nothing more to say about. Just use the code from #40757 to reproduce this bug.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-03 06:14 UTC]
Test file for bug #40757 (Zend/tests/bug40757.phpt) works fine.
So what is wrong?
 [2007-10-11 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 00:01:03 2024 UTC