note 126013 added to pdostatement.execute
| From: | danny dot panzer at gmail dot com | Date: | Fri, 16 Apr 2021 05:31:24 +0000 |
| Subject: | note 126013 added to pdostatement.execute | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216287@lists.php.net to get a copy of this message | ||
I have found very strange behavior for PostgreSQL:
Outside of a transaction, you can pass boolean true/false as members of the input array and it seems
to work.
However, *inside* a transaction, boolean true works but boolean false does not. Instead, pass
something "falsey" like integer 0 or string "false"
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 65.78.17.150)
----
Manual Page -- https://php.net/manual/en/pdostatement.execute.php
Edit -- https://main.php.net/note/edit/126013
Del: integrated -- https://main.php.net/note/delete/126013/integrated
Del: useless -- https://main.php.net/note/delete/126013/useless
Del: bad code -- https://main.php.net/note/delete/126013/bad+code
Del: spam -- https://main.php.net/note/delete/126013/spam
Del: non-english -- https://main.php.net/note/delete/126013/non-english
Del: in docs -- https://main.php.net/note/delete/126013/in+docs
Del: other reasons-- https://main.php.net/note/delete/126013
Reject -- https://main.php.net/note/reject/126013
Search -- https://main.php.net/manage/user-notes.php