]> granicus.if.org Git - php/commit
Make zend_hash_apply_deleter() void, to allow reuse
authorNikita Popov <nikic@php.net>
Thu, 20 Mar 2014 22:25:53 +0000 (23:25 +0100)
committerNikita Popov <nikic@php.net>
Thu, 20 Mar 2014 23:14:51 +0000 (00:14 +0100)
commit4efa58dd593409eb5a4359780bf6b3f83995499b
treed291be5091426c13db6dc6432ebc840982e20658
parentc3a317117ad89694b60b9aa387b6737d6f2774cb
Make zend_hash_apply_deleter() void, to allow reuse

Also remove lies in the comment above the function. apply_deleter
is not safe against modification, if the modification involves
removing the next bucket.

Also modified the implementation of zend_hash_graceful_destroy()
to be fully graceful (the reverse variant already was).
Zend/zend_hash.c