#39719 [NEW]: Lost of scope in objects
| From: | daxohara at gmail dot com | Date: | Sun, 03 Dec 2006 04:07:00 +0000 |
| Subject: | #39719 [NEW]: Lost of scope in objects | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-105812@lists.php.net to get a copy of this message | ||
From: daxohara at gmail dot com
Operating system: debian etch/ubuntu edgy-elf
PHP version: 5.2.0
PHP Bug Type: Class/Object related
Bug description: Lost of scope in objects
Description:
------------
we instantiate 3 objects, 2 are child of the other one... the parent's
variables should be the same for the 2 childs but thats not whats
happening.
Reproduce code:
---------------
http://balzac.s1mp3.org/bug.php.txt
Expected result:
----------------
We expect that the BzPage array content printed from all objects stay the
same, once the array is always the same...
Actual result:
--------------
looks like in someplace the object lost the scope of BzPage array and it's
printing a totaly diferent result.
--
Edit bug report at http://bugs.php.net/?id=39719&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39719&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39719&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39719&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39719&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39719&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39719&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39719&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39719&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39719&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39719&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39719&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39719&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39719&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39719&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39719&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39719&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39719&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39719&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39719&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39719&r=mysqlcfg