[PHP-DEV] Re: New destructors implementation

2004-02-07 Thread Michael Walter
Zeev Suraski wrote: At 00:58 07/02/2004, Christian Jerono wrote: Well so wouldn't 'reverse construction order' mean: $container=...; $obj = $container->getFoo(); results in call of $obj->__destruct(); and then $container->__destruct(); maybe i just missed the problem here? Yes, and yes you did :

[PHP-DEV] Re: New destructors implementation

2004-02-06 Thread Zeev Suraski
At 00:58 07/02/2004, Christian Jerono wrote: Well so wouldn't 'reverse construction order' mean: $container=...; $obj = $container->getFoo(); results in call of $obj->__destruct(); and then $container->__destruct(); maybe i just missed the problem here? Yes, and yes you did :) The whole problem is