Without PZVAL_UNLOCK(return_value), sxe_property_read seems to leak every time it is called.
PZVAL_UNLOCK() should *never* be used by anything outside the engine. The leak is somewhere else.
Even with it there, I see leaks when returning a single value since it was only called when returning an array. What was it crashing on?
Again, it should never be called no matter what. I see leaks all over SimpleXML right now, I'll try looking into them.
Zeev
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php