Did the problem end up being due to zend_execute.c 1.566 patch? Within the zend_assign_to_object function, the temp variable needs to be free'd, otherwise it needs to be handled within the extensions themselves. Not sure about the other functions in that patch as I only ran into issues with this function so far in some of the extensions.
ex. $dom=new domDocument(); $dom->preserveWhiteSpace=false; <- leaks $array = simplexml_load_string('<array><data>sample data</data></array>'); $array->data = false; <- leaks and is valid syntax as it gets converted to string Within dom (pre 1.566 patch) , I had been handling this in my property write function (removed the other day) via: if (! PZVAL_IS_REF(value) && value->refcount == 0) { value->refcount++; zval_ptr_dtor(&value); } Does this need to go back in or is the code from the 1.566 patch going to be revisited and re-implemented? Rob -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php