a) is this a known issue? b) is it fixable for cli usage?
I'm guessing this is because modules are destroyed before the objects that they created are . looking at main/main.c :php_request_shutdown_for_hook() - a temporary fix may be to check for sapi == cli and skip the zend_deactivate_modules, and add it to the sapi_deactivate_cli..
Regards Alan
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php