I think it'd be a good idea if they used FILTER_VALIDATE_BOOLEAN and FILTER_VALIDATE_INTEGER type logic, with an error if conversion fails..
I wonder if PDO::PARAM_BOOL_OR_NULL would be worthwhile On Sun, Nov 5, 2023, 10:10 Saki Takamachi <s...@sakiot.com> wrote: > Hi, > > To think more deeply about this issue, I investigated various cases in > major databases. It's too big to write in an email, so I posted it in the > comments of the issue. > > https://github.com/php/php-src/issues/12603#issuecomment-1793679776 > > Regards. > > Saki > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > >