We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug There supossed to be an error mark in the following sentence
To Reproduce $s = 'dashboard'; return HelpSections::{$s};
$s = 'dashboard'; return HelpSections::{$s};
Expected behavior An error mark
Screenshots
Platform and version Win10 and PHP 8.3
The text was updated successfully, but these errors were encountered:
Can you explain further? What should the error be?
Sorry, something went wrong.
Well as is a syntax error php should expects the constant name, or the static function name. Keep in mind that this is an issue on ENUMS
Seems fine on PHP 8.3, do you mean on versions less than 8.3 ? https://3v4l.org/qeZqJ
No branches or pull requests
Describe the bug
There supossed to be an error mark in the following sentence
To Reproduce
$s = 'dashboard'; return HelpSections::{$s};
Expected behavior
An error mark
Screenshots
Platform and version
Win10 and PHP 8.3
The text was updated successfully, but these errors were encountered: