From: Moriyoshi Koizumi
> Right, for an even further concern, what if libxml was used in a portion > of the entire process outside the PHP code..? (e.g. in a Apache module). > If such collision could well happen, we'd be better off leaving it use the > ordinary allocators. > > On the other hand, it should be worth paying attention to that circular > references are big threats against reference count based garbage > collection. As we have to handle memory allocations with great care in > threaded servers, it'd be safer to use Zend's MM here. For now, why not remove the XML_Memory_Handling_Suite parameter from compat.c (as we already know it will would need to be handled in the MINIT) and just leave the xmlParserInit where it is. This will at least get everything closer no matter which direction we go (using Zend MM or libxml's standard). I really dont have any type of answer here. Damned if you do and damned if you dont. Rob -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php