Problem in Order of PHP Shutdown

php.internals

Florian Schaper

22 years ago
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