#47154 [NEW]: Object properties unset after setting.

From: Date: Mon, 19 Jan 2009 21:16:36 +0000
Subject: #47154 [NEW]: Object properties unset after setting.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-133026@lists.php.net to get a copy of this message
From: onerax at gmail dot com Operating system: Windows PHP version: 6CVS-2009-01-19 (snap) PHP Bug Type: Scripting Engine problem Bug description: Object properties unset after setting. Description: ------------ After setting object properties on one line, object is still empty on the next. Inheritance, multiple namespaces, and passing arrays by reference are involved. Reproduce code: --------------- http://helios-emu.org/arraytest.txt keep in mind this is not the actual code, and does not reproduce the problem by itself. To reproduce the problem you have to separate each class into a separate file and separate them out into two separate namespaces. I have the original code that I uncovered this in and can e-mail it upon a developer's request, but I will not make it public. Expected result: ---------------- The object in which the properties are set contain data. Actual result: -------------- The object in which the properties are set do not contain data. -- Edit bug report at http://bugs.php.net/?id=47154&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47154&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47154&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47154&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47154&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47154&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47154&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47154&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47154&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47154&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47154&r=support Expected behavior: http://bugs.php.net/fix.php?id=47154&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47154&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47154&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47154&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47154&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47154&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47154&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47154&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47154&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47154&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47154&r=mysqlcfg

« previous php.bugs (#133026) next »