Destructors and Shutdown Sequence [OFF]

php.internals

Eduardo R. Maciel

22 years ago
Hello Internals, I?m writing some material about PHP5 and I have some doubts about destructors. If someone would like to help me, it can be done in off. It?s basically how is the order that shutdown occurs in PHP5: - When exactaly __destruct() is called? - What resources still available at the time __destruct() is called? - What resources are not available anymore? I suppose it should be called before unload the extensions. But it wasnt happening (at least till some days ago). I?d like to illustrate how is the shutdown sequence, and show some examples of what can and what CAN?T be done. But I?m not so familiarized with the actual implementaton to find it by myself. Thanks for your attention. Eduardo R. Maciel __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/