Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Mar 6, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

ndossche and others added 9 commits March 6, 2025 19:33
…7978)

By returning something more semantically meaningful that SUCCESS/FAILURE
we can avoid refcounting for array_all() and array_any().
Also we can avoid resetting the input values to UNDEF.
The FETCH_OBJ_R VM handler has an optimization that directly enters into
a hook if it is a simpler getter hook. This is not compatible with the
minimal JIT because the minimal JIT will try to continue executing the
opcodes after the FETCH_OBJ_R.
To solve this, we check whether the opcode is still the expected one
after the execution of the VM handler. If it is not, we know that we are
going to execute a simple hook. In that case, exit to the VM.

Closes GH-17909.
* PHP-8.4:
  Fix GH-15834: Segfault with hook "simple get" cache slot and minimal JIT
IR commit: 0441281e95ce9736131eddc71ce666389dcccd4b
* PHP-8.4:
  Merge IR
This was fixed via dstogov/ir#109 which was
merged in cc70838.
* PHP-8.4:
  Add test for GH-17966
@pull pull bot added the ⤵️ pull label Mar 6, 2025
@pull pull bot merged commit 972d6b6 into wudi:master Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants