Re: [RFC] Escape PDO "?" parameter placeholder
| From: | Matteo Beccati | Date: | Fri, 31 May 2019 14:54:14 +0000 |
| Subject: | Re: [RFC] Escape PDO "?" parameter placeholder | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105812@lists.php.net to get a copy of this message | ||
On 31/05/2019 16:33, Levi Morrison wrote:
> My initial thought is that unless 2 or more database vendors we
> support have this feature then it shouldn't get added. From our
> manual:
>
>> The PHP Data Objects (PDO) extension defines a lightweight, consistent
>> interface for accessing databases in PHP. Each database driver that
>> implements the PDO interface can expose database-specific features
>> as regular extension functions.
The point is that the driver cannot expose anything in this case as the
parser is global.
> As this proposal affects syntax I think such changes are unwise.
Could you please elaborate?
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/