Skip to content

[pull] master from php:master#870

Merged
pull[bot] merged 2 commits intoturkdevops:masterfrom
php:master
Apr 18, 2026
Merged

[pull] master from php:master#870
pull[bot] merged 2 commits intoturkdevops:masterfrom
php:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Apr 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 : )

GromNaN added 2 commits April 17, 2026 22:39
…ntersection type list (#21717)

When generating a union or intersection type list with multiple class
types, the variable holding each zend_string* was declared using
toVarEscapedName() (backslashes replaced by underscores), but the
subsequent ZEND_TYPE_INIT_CLASS() reference used toEscapedName()
(backslashes escaped as \\), producing an invalid C identifier.
Stmt\Use_ and Stmt\GroupUse nodes were not handled in handleStatements(),
causing an "Unexpected node" exception when use statements appeared in
stub files. Since NameResolver resolves all names to their fully qualified
form before handleStatements() runs, these nodes can simply be skipped.
@pull pull bot locked and limited conversation to collaborators Apr 18, 2026
@pull pull bot added the ⤵️ pull label Apr 18, 2026
@pull pull bot merged commit fa5ab4f into turkdevops:master Apr 18, 2026
0 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.

1 participant