Re: [PHP-DEV] PDO parser: drop support for backslash escapes

2020-03-19 Thread Christian Schneider
Am 19.03.2020 um 09:38 schrieb Matteo Beccati : >> I think we should completely drop support for backslash escapes in the >> PDO parser as of PHP 8. If it was possible to support these without >> breaking other standard conforming SQL queries, it would be nice to keep >> it, but that doesn't seem

Re: [PHP-DEV] PDO parser: drop support for backslash escapes

2020-03-19 Thread Matteo Beccati
Hi Christoph, > I think we should completely drop support for backslash escapes in the > PDO parser as of PHP 8. If it was possible to support these without > breaking other standard conforming SQL queries, it would be nice to keep > it, but that doesn't seem to be possible. > > Thoughts? Thank

[PHP-DEV] PDO parser: drop support for backslash escapes

2020-03-16 Thread Christoph M. Becker
Hi all, as it is now (for a long time), the PDO parser supports the proprietary backslash escapes for (double-)quotes in SQL string literals (the standard way to escape quootes in SQL strings is to double them). This causes string terminating quotes to be not recognized as such whenever they are