Skip to content

[pull] master from php:master#511

Merged
pull[bot] merged 3 commits into
dolfly:masterfrom
php:master
Jan 26, 2026
Merged

[pull] master from php:master#511
pull[bot] merged 3 commits into
dolfly:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Jan 26, 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 : )

TimWolla and others added 3 commits January 26, 2026 08:59
* zend_compile: Fix handling of PFA syntax in array_map() optimization

PFA is not implemented and the syntax is rejected at compile-time, thus it was
assumed the assertion would be unreachable. However the check for PFA syntax
happens after compiling special functions, making it reachable. Fix this by
gracefully returning FAILURE which will then correctly emit the error during
the compilation of the normal call.

Fixes #20991.

* zend_compile: Fix array_map() optimization for dynamic function names

Fixes #20990.

* zend_compile: Adjust array_map() optimization after review feedback
* PHP-8.5:
  [8.5] NEWS: add some missing RFC entries (#20693)
@pull pull Bot locked and limited conversation to collaborators Jan 26, 2026
@pull pull Bot added the ⤵️ pull label Jan 26, 2026
@pull pull Bot merged commit 8c4c430 into dolfly:master Jan 26, 2026
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.

2 participants