#26991 [Com]: Object property dereferencing chain breaks for overloaded properties
| From: | php at michaelho dot com | Date: | Fri, 04 Mar 2005 04:34:57 +0000 |
| Subject: | #26991 [Com]: Object property dereferencing chain breaks for overloaded properties | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-74810@lists.php.net to get a copy of this message | ||
ID: 26991
Comment by: php at michaelho dot com
Reported By: ulrich at cs dot auckland dot ac dot nz
Status: Open
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 5.0.0b4 (beta 4)
New Comment:
This still appears to be a bug, using version 5.0.2 (on both Linux and
Windows XP)
Previous Comments:
------------------------------------------------------------------------
[2004-02-17 04:49:31] ulrich at cs dot auckland dot ac dot nz
I initially put this under feature/change request, but it really seems
to be a Zend engine problem. Bug persists in Beta 4.
------------------------------------------------------------------------
[2004-01-21 07:58:36] ulrich at cs dot auckland dot ac dot nz
Description:
------------
The sample code on the site used to work under Beta 1 but somehow now
causes the following error:
"Fatal error: Cannot access undefined property for object with
overloaded property access in XXXXXXX.php on line 23"
The workaround is a bit kludgy and shouldn't be required.
Reproduce code:
---------------
http://www.cs.auckland.ac.nz/compsci334s1t/resources/propertybug.php.txt
Expected result:
----------------
I expect to see the property set without a fatal error occurring.
Actual result:
--------------
"Fatal error: Cannot access undefined property for object with
overloaded property access in XXXXXXX.php on line 23"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26991&edit=1