]> granicus.if.org Git - php/commitdiff
Correct error messages
authorAndrea Faulds <ajf@ajf.me>
Wed, 30 Mar 2016 15:45:36 +0000 (16:45 +0100)
committerAndrea Faulds <ajf@ajf.me>
Wed, 30 Mar 2016 15:45:36 +0000 (16:45 +0100)
UPGRADING

index ad3b15f0ee3bb34198e7ce541938e305ca6fc79e..9c94fd09a9279d435657fad63c10d6c11ec8b252 100644 (file)
--- 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