]> granicus.if.org Git - php/commitdiff
Fix typo in upgrade notes
authorJonathan Torres <jonathantorres41@gmail.com>
Tue, 6 Mar 2018 01:36:58 +0000 (20:36 -0500)
committerJoe Watkins <krakjoe@php.net>
Fri, 9 Mar 2018 11:06:17 +0000 (12:06 +0100)
UPGRADING

index ccf3bc4bba18cb10eeb6413d5ce9945d01f3c93d..9395cb3f3585f8c60ff07e0c7d4b0a417e547a80 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -58,8 +58,8 @@ Core:
   . Array destructuring now supports reference assignments using the syntax
     [&$a, [$b, &$c]] = $d. The same is also supported for list().
     (RFC: https://wiki.php.net/rfc/list_reference_assignment)
-  . instancof now allows literal as the first operand,
-    in this case the result always be FALSE.
+  . instanceof now allows literals as the first operand,
+    in which case the result is always FALSE.
 
 BCMath:
   . bcscale() can now also be used as getter to retrieve the current scale in use.