Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Sep 11, 2025

See Commits and Changes for more details.


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

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

arnaud-lb and others added 13 commits September 11, 2025 12:28
When the assumption that (PRE|POST)_(INC|DEC) overflows turns out to be
false and we exit, effects are lost if op1 or result were in regs.

Fix by updating the stack map before creating the exit point.

Fixes GH-19669
Closes GH-19680
#19789 fixed the line number references for `zend_vm_def.h`, when
generating with line number information some of them are also specific to
`zend_vm_execute.h` and thus should reference that file instead with the
correct line numbers.

The line number tracking was broken, because it was tracked in a single global
variable, instead of being tracked on a per-file basis. Fix this by making the
line numbers an array indexed by the resource ID and consistently using the
`out()` functions to write into the files.

Co-authored-by: Arnaud Le Blanc <[email protected]>
* PHP-8.4:
  Fix deoptimization after exit during inc/dec
* PHP-8.3:
  Fix hard_timeout when zend-max-execution-timers is enabled
* PHP-8.4:
  Fix hard_timeout when zend-max-execution-timers is enabled
* PHP-8.1:
  [skip ci] Add --enable-zend-max-execution-timers to variation nightly build
* PHP-8.2:
  [skip ci] Add --enable-zend-max-execution-timers to variation nightly build
* PHP-8.3:
  [skip ci] Add --enable-zend-max-execution-timers to variation nightly build
* PHP-8.4:
  [skip ci] Add --enable-zend-max-execution-timers to variation nightly build
@pull pull bot locked and limited conversation to collaborators Sep 11, 2025
@pull pull bot added the ⤵️ pull label Sep 11, 2025
@pull pull bot merged commit 05eda43 into wudi:master Sep 11, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants