Re: [RFC] Escape PDO "?" parameter placeholder
| From: | Levi Morrison | Date: | Fri, 31 May 2019 14:33:07 +0000 |
| Subject: | Re: [RFC] Escape PDO "?" parameter placeholder | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105811@lists.php.net to get a copy of this message | ||
On Fri, May 31, 2019 at 5:27 AM Matteo Beccati <php@beccati.com> wrote:
>
> Hi everyone,
>
> following some recent unrest in the comments of the related PR, I've
> decided to invest a bit of time on it and finally move it to draft status:
>
> https://wiki.php.net/rfc/pdo_escape_placeholders
>
> The PR is currently closed, but I will soon rebase and update it.
>
> Any feedback kindly accepted!
>
>
> Cheers
> --
> Matteo Beccati
>
> Development & Consulting - http://www.beccati.com/
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
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.
As this proposal affects syntax I think such changes are unwise.