This patch fixes Bug #22774 PHP crashes when exiting. All it does is move the registration of the php_free_xml_doc destructor to the end of the list, so it is called after destroying nodes and attributes in the instances where the domxml extension is loaded via a dl() call. It seems the only time that the order of destructors matters is in the event of being loaded by dl().
Thanks, Rob
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php