php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #26991 Object property dereferencing chain breaks for overloaded properties
Submitted: 2004-01-21 07:58 UTC Modified: 2005-03-04 09:29 UTC
Votes:20
Avg. Score:5.0 ± 0.0
Reproduced:20 of 20 (100.0%)
Same Version:10 (50.0%)
Same OS:11 (55.0%)
From: ulrich at cs dot auckland dot ac dot nz Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 5.0.0b4 (beta 4) OS: *
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: ulrich at cs dot auckland dot ac dot nz
New email:
PHP Version: OS:

 

 [2004-01-21 07:58 UTC] 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"


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-17 04:49 UTC] 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.
 [2005-03-04 05:34 UTC] php at michaelho dot com
This still appears to be a bug, using version 5.0.2 (on both Linux and Windows XP)
 [2005-03-04 09:29 UTC] tony2001@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 14:01:28 2024 UTC