]> granicus.if.org Git - php/commitdiff
UPGRADING typos/wording
authorjrchamp <jonathan_champ@ncsu.edu>
Mon, 29 Jun 2015 13:54:56 +0000 (09:54 -0400)
committerChristoph M. Becker <cmb@php.net>
Mon, 29 Jun 2015 14:16:51 +0000 (16:16 +0200)
UPGRADING

index ae2989eb5d01d8617097dcc4cdf5980c130e3871..5f92921d0414f8cd33a642bbe98c7ccdb30f082c 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -541,7 +541,7 @@ Other
     (RFC: https://wiki.php.net/rfc/generator-delegation)
   . Reserved keywords can now be used in various new contexts.
     (RFC: https://wiki.php.net/rfc/context_sensitive_lexer)
-  . Added support for scalar type declatarations and strict mode using
+  . Added support for scalar type declarations and strict mode using
     declare(strict_types=1) (RFC: https://wiki.php.net/rfc/scalar_type_hints_v5)
   . Added support for cryptographically secure user land RNG
     (RFC: https://wiki.php.net/rfc/easy_userland_csprng)
@@ -554,7 +554,7 @@ Other
     at server restart or SHM reset. In addition, it's possibe to use file cache
     without SHM at all, using opcache.file_cache_only=1 (this may be useful for
     sharing hosting), and disable file cache consistency check, to speedup
-    loading in cost of safety, using opcache.file_cache_consistency_checks=0.
+    loading at the cost of safety, using opcache.file_cache_consistency_checks=0.
 
 - OpenSSL
   . Added "alpn_protocols" SSL context option allowing encrypted client/server
@@ -603,7 +603,7 @@ Other
   . Added second parameter for unserialize function 
     (RFC: https://wiki.php.net/rfc/secure_unserialize) allowing to specify
     acceptable classes: 
-    unserialize($foo, ["allowed_classes" => ["MyClass", "MyClass2"]);
+    unserialize($foo, ["allowed_classes" => ["MyClass", "MyClass2"]]);
 
 - proc_open():
   The maximum number of pipes used by proc_open() was previously limited by
@@ -667,7 +667,7 @@ For more details see
 https://wiki.php.net/rfc/removal_of_dead_sapis_and_exts
 https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7
 
-NOTE NSAPI was not voted in the RFC, however it was removed afterwards. It turned
+NOTE: NSAPI was not voted in the RFC, however it was removed afterwards. It turned
 out, that the corresponding SDK isn't available anymore.
 
 ========================================
@@ -745,9 +745,9 @@ out, that the corresponding SDK isn't available anymore.
 
 - Core
   . Instead of being undefined and platform-dependent, NaN and Infinity will
-    always be zero when casted to integer.
-  . Calling a method on a non-object no longer raises a fatal error; see
-    also: https://wiki.php.net/rfc/catchable-call-to-member-of-non-object.
+    always be zero when cast to integer.
+  . Calling a method on a non-object now raises a catchable error instead of a
+    fatal error; see: https://wiki.php.net/rfc/catchable-call-to-member-of-non-object
   . Error messages for zend_parse_parameters, type hints and conversions now
     always say "integer" and "float" instead of "long" and "double".
   . Output buffering now continues to work for an aborted connection if