Skip to content

Commit 5d3d2b9

Browse files
committed
Addded missing NEWS/UPGRADING entries for PDO "??" escape
1 parent 946a1e4 commit 5d3d2b9

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

NEWS

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ PHP NEWS
33
?? ??? ????, PHP 7.4.0beta2
44

55

6-
25 Jul 2019, PHP 7.4.0beta1
7-
8-
96
25 Jul 2019, PHP 7.4.0beta1
107

118
- Core:
@@ -36,6 +33,10 @@ PHP NEWS
3633
. Fixed bug #78271 (Invalid result of if-else). (Nikita)
3734
. Added new INI directive opcache.cache_id (Windows only). (cmb)
3835

36+
- PDO:
37+
. Implemented FR #71885 (Allow escaping question mark placeholders).
38+
https://wiki.php.net/rfc/pdo_escape_placeholders (Matteo)
39+
3940
- Recode:
4041
. Unbundled the recode extension. (cmb)
4142

UPGRADING

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,13 @@ PHP 7.4 UPGRADE NOTES
555555
. The --disable-opcache-file|--enable-opcache-file configure options have been
556556
removed in favor of the opcache.file_cache INI directive.
557557

558+
- PDO:
559+
. It is now possibile to escape question marks in SQL queries to avoid them
560+
being interpreted as parameter placeholders. Writing "??" allows to send
561+
a single question mark to the database and e.g. use the PostgreSQL JSON key
562+
exists "?" operator. For more details see the RFC:
563+
https://wiki.php.net/rfc/pdo_escape_placeholders
564+
558565
- Reflection:
559566
. Numeric value of class, property, function and constant modifiers was
560567
changed. Don't filter methods and properties through

0 commit comments

Comments
 (0)