Perfect.
Thanks, Nikita!
On Sat, Jun 19, 2021 at 11:04 AM Nikita Popov wrote:
> On Sat, Jun 19, 2021 at 7:32 PM Sergei Morozov wrote:
>
>> Hi Internals,
>>
>> While trying to run Doctrine DBAL test suite on PHP 8.1, I noticed a few
>> differences in PHP 8.1 be
fc#php_81> or by briefly looking at the code changes.
Are these changes expected, and if so, what's their source?
Thanks!
--
Sergei Morozov
in those as well, since they are supported in DBA tooL
>
> Powered by *Mailbutler
> <https://www.mailbutler.io/?utm_source=watermark&utm_medium=email&utm_campaign=watermark-essential-email>*,
> the email extension that does it all
>
--
Sergei Morozov
other projects. Based on the conversation above, reworking
the parser the right way requires a lot of investment and frankly speaking
it's not the most critical problem in the world to solve (all these bugs
are edge cases).
Regards,
Sergei Morozov
e=test;charset=utf8mb4",
> 'user', 'password', [
> \PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION,
> \PDO::ATTR_EMULATE_PREPARES => true
> ]);
> $pdo->exec("SET sql_mode = NO_BACKSLASH_ESCAPES;");
> $stmt = $pdo->prepare("SELECT * FROM foo WHERE text='\' and 1=? and
> text='\'");
> $stmt->execute([1]);
>
> I'm sorry but this is a hard pass from me.
>
--
Sergei Morozov
break since there may exist PDO-based
extensions outside the PHP repository that rely on compatibility with the
MySQL syntax.
Are there known extensions like this? Would this change be acceptable in
one of the next minor releases?
Regards,
Sergei Morozov