Change PDO quoting

php.internals

Marian Kostadinov

20 years ago
As it is a time of big changes and incompatibilities, maybe it is a good moment to change PDO::quote method to quote NULL to NULL instead of an empty string. This is the consistent behaviour, don't you think?

Sara Golemon

20 years ago
It depends on the driver you're using and (typically) how that driver's client library chooses to quote NULL values. For some it does precisely this already. -Sara ----- Original Message ----- From: ""Marian Kostadinov"" <manchokapitancho@gmail.com> Newsgroups: php.internals To: <internals@lists.php.net> Sent: Friday, May 12, 2006 4:18 AM Subject: Change PDO quoting As it is a time of big changes and incompatibilities, maybe it is a good moment to change PDO::quote method to quote NULL to NULL instead of an empty string. This is the consistent behaviour, don't you think?