Skip to content

[pull] master from php:master#939

Merged
pull[bot] merged 13 commits into
turkdevops:masterfrom
php:master
May 18, 2026
Merged

[pull] master from php:master#939
pull[bot] merged 13 commits into
turkdevops:masterfrom
php:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 18, 2026

See Commits and Changes for more details.


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

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

arnaud-lb and others added 13 commits May 18, 2026 16:21
…standard library macros: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]

Closes GH-22031
* PHP-8.4:
  Fix compiler warning with glibc 2.43 support of C23 const-preserving standard library macros: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
* PHP-8.5:
  Fix compiler warning with glibc 2.43 support of C23 const-preserving standard library macros: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
* PHP-8.5:
  uri: Update to uriparser-1.0.2 (#22070)
* PHP-8.5:
  Fix GH-22023 crash during ZTS thread startup (#22027)
In the tailcall VM, helpers which have extra args return the next opline instead
of tailcalling it, relying on the parent to call it in
ZEND_VM_DISPATCH_TO_HELPER(). When an interrupt is handled in the helper the
opline may be tagged with ZEND_VM_ENTER_BIT, but ZEND_VM_DISPATCH_TO_HELPER()
assumes an untagged opline.

This PR changes ZEND_VM_INTERRUPT() so that such helpers return an opline whose
handler is zend_interrupt_helper, instead of executing it directly.

Closes GH-21922

Co-Authored-By: Arnaud Le Blanc <arnaud.lb@gmail.com>
* PHP-8.5:
  Fix tailcall helper dispatch after VM interrupt
php_date_llabs negated its argument with -i, which is UB when i is
LLONG_MIN. Cast to uint64_t before negating and use stdint types
throughout. Updated Y/x/X format call sites to PRIu64.

Fixes GH-18422
Closes GH-21638
* PHP-8.4:
  Fix GH-18422: int overflow in php_date_llabs
* PHP-8.5:
  Fix GH-18422: int overflow in php_date_llabs
…ng next node.

Pin the new traverse target via SPL_LLIST_CHECK_ADDREF before the
shift/pop destructor runs. Otherwise a destructor that unlinks the
next node (e.g. offsetUnset) frees it, leaving the iterator with a
dangling pointer.

close GH-22066
@pull pull Bot locked and limited conversation to collaborators May 18, 2026
@pull pull Bot added the ⤵️ pull label May 18, 2026
@pull pull Bot merged commit d6b7bd0 into turkdevops:master May 18, 2026
1 of 3 checks passed
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