Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix get_object_vars() for non-hooked props in hooked prop iter #16805

Open
wants to merge 1 commit into
base: PHP-8.4
Choose a base branch
from

Commits on Nov 14, 2024

  1. Fix get_object_vars() for non-hooked props in hooked prop iter

    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 phpGH-16725
    iluuu1994 committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    593d780 View commit details
    Browse the repository at this point in the history