From:             alexandre dot boyer7 at wanadoo dot fr
Operating system: WIN 2000
PHP version:      5CVS-2003-09-07 (dev)
PHP Bug Type:     Zend Engine 2 problem
Bug description:  references on unset vars continue to live

Description:
------------
just look at the source code

Reproduce code:
---------------
http://cedalex.phpnet.org/test.html

Expected result:
----------------
Create And Print A1
a Object ( [id] => 914581 ) 

A2 references A1; ref=1
A3 reference A2; ref=1
A1 unset; print A1 

A1 unset; print A2 

A1 unset; print A3 



Actual result:
--------------
Create And Print A1
a Object ( [id] => 914581 ) 

A2 references A1; ref=1
A3 reference A2; ref=1
A1 unset; print A1 

A1 unset; print A2 
a Object ( [id] => 914581 ) 
A1 unset; print A3 
a Object ( [id] => 914581 ) 

-- 
Edit bug report at http://bugs.php.net/?id=25418&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25418&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25418&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25418&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25418&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25418&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25418&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25418&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25418&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25418&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25418&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25418&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25418&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25418&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25418&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25418&r=gnused

Reply via email to