From: Andrea Faulds Date: Wed, 30 Mar 2016 15:45:36 +0000 (+0100) Subject: Correct error messages X-Git-Tag: php-7.1.0alpha1~395^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0105bd20b706c8ab5b0a71f59f11a9dabe735f6b;p=php Correct error messages --- diff --git a/UPGRADING b/UPGRADING index ad3b15f0ee..9c94fd09a9 100644 --- a/UPGRADING +++ b/UPGRADING @@ -42,8 +42,8 @@ PHP 7.1 UPGRADE NOTES . Added a form of the list() construct where keys can be specified. (RFC: https://wiki.php.net/rfc/list_keys) . Number operators taking numeric strings now emit "A non well formed numeric - string encountered" E_NOTICEs for leading-numeric strings, and "A - non-numeric string encountered" E_WARNINGs for non-numeric strings. + value encountered" E_NOTICEs for leading-numeric strings, and "A + non-numeric value encountered" E_WARNINGs for non-numeric strings. This always applies to the +, -, *, /, **, %, << and >> operators, and their assignment counterparts +=, -=, *=, /=, **=, %=, <<= and >>=. For the bitwise operators |, & and ^, and their assignment counterparts