#26991 [NEW]: Object property dereferencing chain breaks for overloaded properties
| From: | ulrich at cs dot auckland dot ac dot nz | Date: | Wed, 21 Jan 2004 12:58:36 +0000 |
| Subject: | #26991 [NEW]: Object property dereferencing chain breaks for overloaded properties | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-53692@lists.php.net to get a copy of this message | ||
From: ulrich at cs dot auckland dot ac dot nz
Operating system: XP Pro
PHP version: 5CVS-2004-01-21 (dev)
PHP Bug Type: Feature/Change Request
Bug description: Object property dereferencing chain breaks for overloaded properties
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 bug report at http://bugs.php.net/?id=26991&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26991&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26991&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26991&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26991&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26991&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26991&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26991&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26991&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26991&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26991&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26991&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26991&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26991&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26991&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26991&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26991&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26991&r=float