php.net |  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
Votes:4
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2007-10-01 13:08 UTC] patrick dot stadler at gmail dot com
Description:
------------
It seems that http://bugs.php.net/bug.php?id=40757 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.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-03 06:14 UTC] dmitry@php.net
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: Thu May 23 19:01:38 2024 UTC