@@ -240,6 +240,32 @@ PHP 8.4 UPGRADE NOTES
240
240
openssl_pkey_get_details as well as openssl_sign and openssl_verify were
241
241
extended to support those keys.
242
242
243
+ - PDO:
244
+ . Added support for driver specific SQL parsers. The default parser supports:
245
+ - single and double quoted literals, with doubling as escaping mechanism.
246
+ - two-dashes and non-nested C-style comments.
247
+
248
+ - PDO_MYSQL:
249
+ . Added custom parser supporting:
250
+ - single and double-quoted literals, with doubling and backslash as escaping
251
+ mechanism
252
+ - backtick literal identifiers and with doubling as escaping mechanism
253
+ - two dashes followed by at least 1 whitespace, non-nested C-style comments,
254
+ and hash-comments
255
+
256
+ - PDO_PGSQL:
257
+ . Added custom parser supporting:
258
+ - single and double quoted literals, with doubling as escaping mechanism
259
+ - C-style "escape" string literals (E'string')
260
+ - dollar-quoted string literals
261
+ - two-dashes and C-style comments (non-nested)
262
+ - support for "??" as escape sequence for the "?" operator
263
+
264
+ - PDO_SQLITE:
265
+ . Added custom parser supporting:
266
+ - single, double quoted, and backtick literals, with doubling as escaping mechanism
267
+ - square brackets quoting for identifiers
268
+ - two-dashes and C-style comments (non-nested)
243
269
244
270
- Phar:
245
271
. Added support for the unix timestamp extension for zip archives.
@@ -355,6 +381,11 @@ PHP 8.4 UPGRADE NOTES
355
381
. Calling ldap_exop() with more than 4 arguments is deprecated. Use
356
382
ldap_exop_sync() instead.
357
383
384
+ - PDO_PGSQL:
385
+ . Using escaped question marks (??) inside dollar-quoted strings is deprecated.
386
+ Since PDO_PGSQL has its own SQL parser with dollar-quoted strings support, it
387
+ is no longer necessary to escape question marks inside them.
388
+
358
389
- PgSQL:
359
390
. Calling pgsql_fetch_result() with 2 arguments is deprecated. Use the
360
391
3-parameter signature with a null $row parameter instead.
0 commit comments