Problem in Order of PHP Shutdown
| From: | Florian Schaper | Date: | Tue, 01 Jun 2004 14:02:39 +0000 |
| Subject: | Problem in Order of PHP Shutdown | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-10205@lists.php.net to get a copy of this message | ||
There is a problem in the order the destructors of objects are destroyed at
PHP shutdown.
Let's say in an destructor the objects tries to save some states in a
session variable that would currently fail since destructors are called
after modules are freed.
Sample & patch included.
./regards
Florian Schaper