]> granicus.if.org Git - php/commit
Make zval_ptr_dtor / _zval_dtor_func more robust
authorNikita Popov <nikic@php.net>
Fri, 22 Apr 2016 15:48:35 +0000 (17:48 +0200)
committerNikita Popov <nikic@php.net>
Fri, 22 Apr 2016 15:48:35 +0000 (17:48 +0200)
commitded69ee6e6039d56ee7b65b1a578ed1e3d1859da
tree4d58b3fa6386c7934384a11b49b5dbbf1e50225d
parent304e5ae3d6d00178d71bd345f0a6f98c948a5e19
Make zval_ptr_dtor / _zval_dtor_func more robust

In particular, allow arrays with refcount>1, like we already allow
for all other types. _zval_dtor_func is now the same as
_zval_dtor_func_for_ptr with an extra refcount decrement check at
the start. At this point we might as well drop it...
Zend/zend_variables.c