Skip to content

[pull] master from php:master#1079

Merged
pull[bot] merged 10 commits into
turkdevops:masterfrom
php:master
Jul 10, 2026
Merged

[pull] master from php:master#1079
pull[bot] merged 10 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jul 10, 2026

Copy link
Copy Markdown

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 : )

DanielEScherzer and others added 10 commits July 10, 2026 07:20
… bytes

So that when the output is fixed the change can be confirmed in tests
* PHP-8.5:
  Fixed __debugInfo() usage on PHP 8.5 and later for DatePeriod (#22677)
* PHP-8.4:
  NEWS
  GH-22658: avoid truncation on null bytes in `ReflectionConstant::__toString()`
  Add regression tests for `ReflectionConstant::__toString()` with null bytes
* PHP-8.5:
  [8.5] NEWS: add entry for bugfix from GH-22659
  NEWS
  GH-22658: avoid truncation on null bytes in `ReflectionConstant::__toString()`
  Add regression tests for `ReflectionConstant::__toString()` with null bytes
…22679)

zend_throw_unwind_exit() requires !EG(exception), but assert.bail called it
right after zend_exception_error(), which can itself re-throw while printing
the callback's exception (a throwing __toString, a throwing __destruct when
the exception is released, or the call-stack guard re-tripping at the stack
limit). Only throw the unwind exit when no exception is pending; otherwise let
the re-thrown exception propagate, matching exit() and phar.

Fixes GH-22671
…sterPHPFunctions().

Fix #22621

Namespace parents from an external document() were wrapped directly
instead of through the proxy factory, so they skipped the copy that
keeps non-main-document nodes alive. A DOMNameSpaceNode retained by
userland then dangled once xsltFreeTransformContext() freed the external
document. Route the namespace parent through the proxy factory too.

close GH-22623
@pull pull Bot locked and limited conversation to collaborators Jul 10, 2026
@pull pull Bot added the ⤵️ pull label Jul 10, 2026
@pull pull Bot merged commit 9073875 into turkdevops:master Jul 10, 2026
1 check was pending
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.

4 participants