> 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php