Skip to content

PFA: Fix support for never-returning functions - #25322

Closed
ndossche wants to merge 1 commit into
php:PHP-8.6from
ndossche:partial-never
Closed

ndossche wants to merge 1 commit into
php:PHP-8.6from
ndossche:partial-never

Conversation

@ndossche

@ndossche ndossche commented Nov 8, 2026

Copy link
Copy Markdown
Member

The AST rewrite tried to add a return statement, so I extended the check from void to void or never.

The AST rewrite tried to add a return statement, so I extended the check
from void to void or never.
@ndossche ndossche closed this in 5e8d15e Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants