Re: Default Setting for PDO::ATTR_EMULATE_PREPARES

[email protected] (Mark Simon) Sun, 16 Apr 2017 10:43:24 +1000
Newsgroups php.pdo
Message-ID <[email protected]>
On 16/4/17 10:08 am, Mark Simon wrote:
> I have read that, by default, PDO::ATTR_EMULATE_PREPARES is false.
> However, I have also read that this is not true for all database
> connections — PostgreSQL defaults to true.
>
> The point is, this is all coming from third parties. As knowledgeable as
> they are, I would prefer to check with the source.
>
> Where is the default setting for PDO::ATTR_EMULATE_PREPARES documented?
>
> Thanks
  Well, I got that wrong!

I meant to say the other way round: By default it is true.