# Change PDO quoting

- Thread: https://externals.io/message/23299
- Original archive: https://news-web.php.net/php.internals/23299
- Started by Marian Kostadinov on 2006-05-12T11:18:29+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #23299 — Marian Kostadinov — 2006-05-12T11:18:29+00:00

URL: https://externals.io/message/23299#23299

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?

---

## #23307 — Sara Golemon — 2006-05-12T15:02:10+00:00

URL: https://externals.io/message/23299#23307 · In reply to: #23299

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?
