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
The following code:
<?php enum Foo { case bar; } class Bar { public Foo $enum = Foo::bar; } $c = new Bar; echo new \ReflectionProperty($c, 'enum');
Resulted in a segfault on PHP 8.1.
Resulted in this on PHP 8.2, which is also wrong: Property [ public Foo $enum = callable ]
Property [ public Foo $enum = callable ]
I'd expect the AST to be dumped instead (see #7540).
PHP 8.1+
No response
The text was updated successfully, but these errors were encountered:
1944c14
iluuu1994
No branches or pull requests
Description
The following code:
Resulted in a segfault on PHP 8.1.
Resulted in this on PHP 8.2, which is also wrong:
Property [ public Foo $enum = callable ]
I'd expect the AST to be dumped instead (see #7540).
PHP Version
PHP 8.1+
Operating System
No response
The text was updated successfully, but these errors were encountered: