Bug #81002 [Com]: Booleans are cast to integers when inserting records

From: Date: Thu, 06 May 2021 20:55:41 +0000
Subject: Bug #81002 [Com]: Booleans are cast to integers when inserting records
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233722@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81002&edit=1

 ID:                 81002
 Comment by:         valentin dot funk at gmail dot com
 Reported by:        jeroen dot vanoort at webparking dot nl
 Summary:            Booleans are cast to integers when inserting records
 Status:             Closed
 Type:               Bug
 Package:            PDO PgSQL
 Operating System:   Alpine
 PHP Version:        8.0.5
 Assigned To:        mbeccati
 Block user comment: N
 Private report:     N

 New Comment:

Thank you very much for this fix! 
I was very confused that some unit tests were failing since a few days. PHP 7.4.19 (together with
PostgreSQL 11.11_2; both installed via Homebrew) now runs my application again on a MacBook Air M1
(Apple Silicon).


Previous Comments:
------------------------------------------------------------------------
[2021-05-06 13:10:14] josh at kimmel dot com

This still seems to be an issue in 8.0.6

------------------------------------------------------------------------
[2021-05-04 10:18:40] cmb@php.net

Related To: Bug #81009

------------------------------------------------------------------------
[2021-05-04 10:18:04] cmb@php.net

Related To: Bug #81010

------------------------------------------------------------------------
[2021-05-03 10:46:53] mbeccati@php.net

Yes, the official 8.0.6 and 7.4.19 will contain the revert/fix.

------------------------------------------------------------------------
[2021-05-03 10:44:16] appmaker at nibnut dot com

The bug also happens in php7.4.18... Any way to get the fix in there too please?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=81002


--
Edit this bug report at https://bugs.php.net/bug.php?id=81002&edit=1


Thread (7 messages)

« previous php.bugs (#233722) next »