Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Nils WernerNils WernerReporter
Pierre-Yves NicolasPierre-Yves Nicolas(Deactivated)Components
Fix versions
Priority
Normal
Details
Details
Assignee
Nils Werner
Nils WernerReporter
Pierre-Yves Nicolas
Pierre-Yves Nicolas(Deactivated)Components
Fix versions
Priority

Sentry
Sentry
Sentry
Created October 27, 2020 at 5:15 PM
Updated October 16, 2024 at 2:37 PM
Resolved January 3, 2023 at 3:26 PM
Since PHP 8.1 reserved words aka keywords are allowed as namespaces. Our parser currently does not allow this syntax and raises parsing errors. We should allow these reserved words in specific situations like namespace, use, and call expressions.
The following code should not trigger a parse error:
Exception single keywords are not allowed as expressions and types: