Skip to content

[PHP 8.3] Emphasize arbitrary expressions in static initializer#4169

Merged
Girgias merged 2 commits into
php:masterfrom
alexandre-daubois:variables-static-scope-note
Nov 27, 2024
Merged

[PHP 8.3] Emphasize arbitrary expressions in static initializer#4169
Girgias merged 2 commits into
php:masterfrom
alexandre-daubois:variables-static-scope-note

Conversation

@alexandre-daubois
Copy link
Copy Markdown
Member

Part of #2796

Already present, but I think this could be emphasized a bit rather than just having a code snippet that says it's correct without further explanation in example 9 of https://www.php.net/manual/en/language.variables.scope.php.

@alexandre-daubois alexandre-daubois changed the title Emphasize arbitrary expressions in static initializer [PHP 8.3] Emphasize arbitrary expressions in static initializer Nov 27, 2024
Comment thread language/variables.xml Outdated
@Girgias Girgias merged commit b5e2408 into php:master Nov 27, 2024
@Girgias Girgias added this to the PHP 8.3 milestone Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants