On Feb 11, 2005, at 2:25 AM, Markus Fischer wrote:

Sara Golemon wrote:
What would happen to the instanciated objects?

Only allowing class unloading for classes that have no instantiated objects would be an option.

And how would you know if it'd been instantiated? Even if you recursively looped through every variable hash from EG(symbol_table) on down, there'd still be the possibility that one or two objects would be hiding in a resource somewhere (i.e. php_stream_context).

Is there a technical limitation to loop through every internal hash which could possible hold an instantiated object?

Yes. There are obscure, arbitrary places these things can live.

George

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to