Re: [RFC] Magic Method that handles unset($object)
| From: | Sebastian Bergmann | Date: | Sun, 10 Dec 2006 15:07:21 +0000 |
| Subject: | Re: [RFC] Magic Method that handles unset($object) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26885@lists.php.net to get a copy of this message | ||
Etienne Kneuss wrote:
> ParentC::__construct()
> Child::__construct()
> ParentC::__destruct()
> Child::__destruct()
You only get this result (ie. the __destruct() calls) because you reach
the end of the script, not because unset() is called.
--
Sebastian Bergmann http://sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69