PHP 7.4.18 and 8.0.5's pdo_pgsql module is break postgresql integer to boolean cast, here is an irregular update for php released. PHP: News Archive - 2021
If anyone use laravel eloquent/query builder, this is realy big problem, please update it asap.
here short list of topics about this issue,
* * Fix bug #80892 PDO::PARAM_INT on pdo_pgsql by mbeccati · Pull Request #6801 · php/php-src
* [8.x] Fix postgresql boolean bind value by jstacho · Pull Request #37168 · laravel/framework
If anyone use laravel eloquent/query builder, this is realy big problem, please update it asap.
here short list of topics about this issue,
* * Fix bug #80892 PDO::PARAM_INT on pdo_pgsql by mbeccati · Pull Request #6801 · php/php-src
* [8.x] Fix postgresql boolean bind value by jstacho · Pull Request #37168 · laravel/framework