unread
Sent from Meizu MX6
-------- Original message --------
Sender: Matteo Beccati php@beccati.com
Time: Thu 5/18 13:18
To: Dorin Marcoci dorin.marcoci@marcodor.com,internals internals@lists.php.net
Subject: Re: [PHP-DEV] PDO Parameter types // PDO::PARAM_AUTO
I meant the case when a bool is passed as string, like bindValue('boolparam', false);
Here it comes as an empty string, not "0", while true comes as "1".Please have a look again at my example and the code I linked. How could
it work if what you say is true?Matteo,
There is the case when param is set explicitelly with PDO::PARAM_BOOL