File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -617,6 +617,17 @@ PHP 8.1 UPGRADE NOTES
617
617
- The log_errors_max_len ini setting has been removed. It no longer had an
618
618
effect since PHP 8.0.
619
619
620
+ - A leading dollar in a quoted string can now be escaped: "\${" will now be
621
+ interpreted as a string with contents `${`.
622
+
623
+ - Backslashes in double quoted strings are now more consistently treated as
624
+ escape characters. Previously, "foo\\" followed by something other than a
625
+ newline was not considered as a teminated string. It is now interpreted as a
626
+ string with contents `foo\`. However, as an exception, the string "foo\"
627
+ followed by a newline will continue to be treated as a valid string with
628
+ contents `foo\` rather than an unterminated string. This exception exists to
629
+ support naive uses of Windows file pahts as "C:\foo\".
630
+
620
631
========================================
621
632
12. Windows Support
622
633
========================================
You can’t perform that action at this time.
0 commit comments