summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-09-14 12:43:22 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-09-14 12:43:22 +0200
commit219d8599b04162a0ba733513dcab71a996b88f56 (patch)
tree425eb221b491e854d8437f6e6a0f64f97bcf817d
parent001fbbb94f6a182e9db1ddcbad73ce7f4076f117 (diff)
downloadphp-git-219d8599b04162a0ba733513dcab71a996b88f56.tar.gz
Fix #72430: [] operator not supported for strings
-rw-r--r--UPGRADING2
1 files changed, 2 insertions, 0 deletions
diff --git a/UPGRADING b/UPGRADING
index 9cef0095d1..295f04dd07 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -78,6 +78,8 @@ PHP 7.1 UPGRADE NOTES
(RFC https://wiki.php.net/rfc/too_few_args).
. The error message for E_RECOVERABLE errors has been changed from "Catchable
fatal error" to "Recoverable fatal error".
+ . The empty index operator (e.g. $str[] = $x) is not supported for strings
+ anymore, and throws a fatal error instead of silently converting to array.
- JSON:
. The serialize_precision is used instead of precision when encoding double