"Andi Gutmans" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> This doesn't look right. Shouldn't you make sure that module shutdown
frees
> the hashtables? You can change the dtor if you need.
> I'm sorry but I don't quite understand what made you come up with this
> solution. Maybe I'm missing something.
Shure I can free the hashtable on module shutdown, but since the hashtable
is inside a class definition(class constants), should I unregister the class
too ?
I just put this code because the current symtable only supports userland
defined class constants.
What is the good practice in developing PHP extensions ? Free all classes
defined within an extension at module shutdown ?

Best Regards,

Cristiano Duarte

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

Reply via email to