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
Hello First of all, Thank You very much for your work.
I have a little problem with a test combining the not and the instanceof operators :
if( !$stmt instanceof a ){ /* do something */ }
outputs an ast that gives something which is like
if( !($stmt) instanceof a){ /**/ }
and it should give something like
if( !($stmt instanceof a ) ){ /**/ } Because the priority of instanceof is higher than the "not" according to the php documentation there https://www.php.net/manual/en/language.operators.precedence.php
I can go around this little problem but it may be useful to you
Bye & thank you Hugues
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello
First of all, Thank You very much for your work.
I have a little problem with a test combining the not and the instanceof operators :
if( !$stmt instanceof a ){
/* do something */
}
outputs an ast that gives something which is like
if( !($stmt) instanceof a){
/**/
}
and it should give something like
if( !($stmt instanceof a ) ){
/**/
}
Because the priority of instanceof is higher than the "not" according to the php documentation there
https://www.php.net/manual/en/language.operators.precedence.php
I can go around this little problem but it may be useful to you
Bye & thank you
Hugues
The text was updated successfully, but these errors were encountered: