Skip to content
New issue

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

Fix type error for bool bindings #14

Closed
wants to merge 1 commit into from
Closed

Conversation

jpxd
Copy link
Contributor

@jpxd jpxd commented Jun 17, 2021

PDO->quote only accepts string parameters.
When using a bool parameter in a query this leads to a type mismatch exception in PHP8. Bool parameters can be treated as safe like numbers.

PDO->quote only accepts string parameters.
When using a bool parameter this leads to a type mismatch exception in PHP8. Bool parameters can be treated as safe like numbers.
@filisko filisko closed this in 519c6e6 Jun 17, 2021
filisko added a commit that referenced this pull request Jun 17, 2021
@jpxd
Copy link
Contributor Author

jpxd commented Jun 17, 2021

Thanks!

@filisko
Copy link
Owner

filisko commented Jun 17, 2021

Vielen Dank! :) v4.0.1 released !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants