Skip to content

[pull] master from php:master#431

Merged
pull[bot] merged 24 commits intoturkdevops:masterfrom
php:master
Oct 7, 2025
Merged

[pull] master from php:master#431
pull[bot] merged 24 commits intoturkdevops:masterfrom
php:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Oct 7, 2025

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

SakiTakamachi and others added 24 commits October 7, 2025 23:31
* PHP-8.4:
  PHP-8.4 is now for PHP 8.4.15-dev
* PHP-8.5:
  PHP-8.4 is now for PHP 8.4.15-dev
This hunk was missed in the 8.1 cherry-pick because curl_xferinfo() didn't exist
yet.
* PHP-8.2:
  Backport more curl 8.16 fixes
* PHP-8.3:
  Backport more curl 8.16 fixes
* PHP-8.4:
  Backport more curl 8.16 fixes
* PHP-8.5:
  Backport more curl 8.16 fixes
In CGI, php_auto_globals_create_server() (i.e. auto_global_callback() here)
initializes $_ENV to reuse for $_SERVER. However, because $_SERVER is
constructed first, we have not yet initialized auto_global->armed of the $_ENV
global. Split the loop into initialization and constructor phases.

Fixes GH-19934
Closes GH-19870
* PHP-8.3:
  ensure test passes with prod config
  Fix CGI with auto_globals_jit=0
* PHP-8.4:
  ensure test passes with prod config
  Fix CGI with auto_globals_jit=0
* PHP-8.5:
  ensure test passes with prod config
  Fix CGI with auto_globals_jit=0
* PHP-8.3:
  [skip ci] Fix news entry
* PHP-8.4:
  [skip ci] Fix news entry
* PHP-8.5:
  [skip ci] Fix news entry
* PHP-8.3:
  Fix GH-20073: Assertion failure in WeakMap offset operations on reference
* PHP-8.4:
  Fix GH-20073: Assertion failure in WeakMap offset operations on reference
* PHP-8.5:
  Fix GH-20073: Assertion failure in WeakMap offset operations on reference
* tree-wide: Replace `zval_is_true()` by `zend_is_true()`

The former is a direct alias of the latter which is much more often used.

* zend_operators: Remove `zval_is_true()`
…20096)

While I consider it fine to hardcode offsets for parent-less classes, doing it on inherited classes prohibits adding additional properties via extensions.
In this specific case, an added property to Exception will cause "new ErrorException" to crash.

Signed-off-by: Bob Weinand <bobwei9@hotmail.com>
@pull pull bot locked and limited conversation to collaborators Oct 7, 2025
@pull pull bot added the ⤵️ pull label Oct 7, 2025
@pull pull bot merged commit f905950 into turkdevops:master Oct 7, 2025
1 of 2 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