-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix get_object_vars() for non-hooked props in hooked prop iter #16805
Conversation
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
@php/release-managers-84 Since we're past the last RC, are you ok merging this for GA? The release process says: https://github.com/php/policies/blob/main/release-process.rst
I don't think this change should require another RC, but delaying it until 8.4.1 also seems unnecessary. WDYT? |
We could always created a new RC, no? |
That would delay the release by two weeks. I don't think that's necessary here. |
I think we should adapt the policy in general that trivial&well-understood bugfixes to new features introduced in the final RC as well as fixing regressions introduced shall always be permissible. Non-trivial bugfixes shall be cause for a new RC (or be delayed to the next patch release, depending on severity/impact). |
As mentioned privately I fully agree with what Bob said. There should be just an addition that it should be in discretion of RM like all other case as someone will have to decide what is "trivial & well-understood". This rule can be applied immediately IMO as the current rules are not completely approved. |
Great, thanks @bukka! @php/release-managers-84 Please consider this for 8.4 GA then. |
I'm counting 13 bugfixes for PHP 8.4.0 in https://github.com/php/php-src/blob/PHP-8.4/NEWS. Have these all been approved by RMs? Or will PHP 8.4.0 be cut from another branch as PHP-8.4 (in which case NEWS should have been updated to say PHP 8.4.1). |
@cmb69 According to our discussion, it would be branched from the last RC tag, and then the relevant changes would be cherry-picked. |
Thank you! Then I can apply to PHP-8.4. :) |
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