Re: PDO Parameter types // PDO::PARAM_AUTO
| From: | Matteo Beccati | Date: | Thu, 18 May 2017 09:18:04 +0000 |
| Subject: | Re: PDO Parameter types // PDO::PARAM_AUTO | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99096@lists.php.net to get a copy of this message | ||
On 18/05/2017 10:06, Dorin Marcoci wrote:
>> What are you referring to?
>
> I wrote "internally", meaning in C driver code, not in PHP.
> When a bool ZVAL variable is converted to a string ZVAL.
> Your example is irrelevant.
Ok, I think I got it. But the example shows that the pgsql driver is
working, so maybe you could have a look at how it works.
e.g.
https://github.com/php/php-src/blob/master/ext/pdo_pgsql/pgsql_statement.c#L382
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/