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
Questions? Forum: https://phalcon.io/forum or Discord: https://phalcon.io/discord
Describe the bug Because in_array does not use strict comparison by default, which leads to BoolVal not working as expected.
To Reproduce
Provide output if related. Provide coredump if any. Use https://docs.phalcon.io/latest/generating-backtrace as reference.
Steps to reproduce the behavior:
https://github.com/phalcon/cphalcon/blob/master/phalcon/Filter/Sanitize/BoolVal.zep#L29-L38
$check = $this->filter->sanitize(0, 'bool'); var_dump($check);
output
bool(true)
The text was updated successfully, but these errors were encountered:
Resolved in #16584
Thank you @aa65535
Sorry, something went wrong.
niden
No branches or pull requests
Questions? Forum: https://phalcon.io/forum or Discord: https://phalcon.io/discord
Describe the bug
Because in_array does not use strict comparison by default, which leads to BoolVal not working as expected.
To Reproduce
Steps to reproduce the behavior:
https://github.com/phalcon/cphalcon/blob/master/phalcon/Filter/Sanitize/BoolVal.zep#L29-L38
output
The text was updated successfully, but these errors were encountered: