Re: [PHP-DEV] Changes in pdo_sqlite and var_dump in PHP 8.1

2021-06-19 Thread Sergei Morozov
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

[PHP-DEV] Changes in pdo_sqlite and var_dump in PHP 8.1

2021-06-19 Thread Sergei Morozov
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

Re: [PHP-DEV] RFC: mysqli::in_transaction

2021-04-27 Thread 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

Re: [PHP-DEV] Use MySQL syntax only for parsing MySQL statements in PDO

2021-04-11 Thread 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

Re: [PHP-DEV] Use MySQL syntax only for parsing MySQL statements in PDO

2021-04-10 Thread 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

[PHP-DEV] Use MySQL syntax only for parsing MySQL statements in PDO

2021-04-10 Thread 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