Re: Class Destruction / Reloading
| From: | Sara Golemon | Date: | Thu, 19 Aug 2004 05:32:20 +0000 |
| Subject: | Re: Class Destruction / Reloading | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12248@lists.php.net to get a copy of this message | ||
> Well, some time ago I wrote a small functions, that does exactly the same:
>
> PHP_FUNCTION(unregister_class)
> {
*snip*
Barring some stylectic differences and a check to make sure it's not an
internal class, that's precisely what I gave sean in
shiva_destroy_class()....
But just to be clear, I don't think it's a good idea, and I'll wager dollars
to doughnuts that it destablizes the active request if not the entire
engine.
Not to be too blunt, but I gave him that extension so he'd have some rope to
hang himself with (or maybe learn something useful...)
-Sara