com php-src: Fix #72430: [] operator not supported for strings: UPGRADING
| From: | Christoph Michael Becker | Date: | Wed, 14 Sep 2016 10:43:22 +0000 |
| Subject: | com php-src: Fix #72430: [] operator not supported for strings: UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94510@lists.php.net to get a copy of this message | ||
Commit: 219d8599b04162a0ba733513dcab71a996b88f56
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 14 Sep 2016 12:43:22 +0200
Parents: 001fbbb94f6a182e9db1ddcbad73ce7f4076f117
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=219d8599b04162a0ba733513dcab71a996b88f56
Log:
Fix #72430: [] operator not supported for strings
Bugs:
https://bugs.php.net/72430
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index 9cef009..295f04d 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