[php-src] PR #16805: Fix get_object_vars() for non-hooked props in hooked prop iter
| From: | iluuu1994 | Date: | Thu, 14 Nov 2024 21:41:51 +0000 |
| Subject: | [php-src] PR #16805: Fix get_object_vars() for non-hooked props in hooked prop iter | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29646@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16805
Author: iluuu1994
Very confusingly, the zend_hash_update_ind() variant unwraps indirects, rather than creating them.
Don't use _zend_hash_append_ind() because the property might already exist.
Fixes GH-16725