]> granicus.if.org Git - php/commitdiff
Update NEWS and UPGRADING
authorAaron Piotrowski <aaron@trowski.com>
Mon, 4 Jul 2016 04:35:40 +0000 (23:35 -0500)
committerAaron Piotrowski <aaron@trowski.com>
Mon, 4 Jul 2016 04:35:40 +0000 (23:35 -0500)
NEWS
UPGRADING

diff --git a/NEWS b/NEWS
index 97751aa3258a72c3318df5c8164b63e48a3f9139..8609774804452bffcbc20bb23e2e3d61973d3533 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@ PHP                                                                        NEWS
 ?? ??? 2016, PHP 7.1.0beta1
 
 - Core:
+  . Implemented RFC: Iterable. (Aaron Piotrowski)
   . Fixed bug #72523 (dtrace issue with reflection (failed test)). (Laruence)
   . Fixed bug #72508 (strange references after recursive function call and
     "switch" statement). (Laruence)
@@ -84,6 +85,7 @@ PHP                                                                        NEWS
   . Implemented FR #72385 (Update SQLite bundle lib(3.13.0)). (Laruence)
 
 - Standard:
+  . Added is_iterable() function. (Aaron Piotrowski)
   . Fixed bug #72306 (Heap overflow through proc_open and $env parameter).
     (Laruence)
 
index b918e3db7ad9f8828ac080aff4c81f4b2a3ec5fd..9af87e98e5eb2c13feebe145e282a6b4a81295bd 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -22,6 +22,9 @@ PHP 7.1 UPGRADE NOTES
 - Core:
   . 'void' can no longer be used as the name of a class, interface, or trait.
     This applies to declarations, class_alias() and use statements.
+  . 'iterable' can no longer be used as the name of a class, interface, or
+    trait. This applies to declarations, class_alias() and use statements.
+    (RFC: https://wiki.php.net/rfc/iterable)
   . (int), intval() where $base is 10 or unspecified, settype(), decbin(),
     decoct(), dechex(), integer operators and other conversions now always
     respect scientific notation in numeric strings.
@@ -59,6 +62,9 @@ PHP 7.1 UPGRADE NOTES
 - Core
   . Added void return type, which requires that a function not return a value.
     (RFC: https://wiki.php.net/rfc/void_return_type)
+  . Added iterable pseudo-type accepting any array or object implementing
+    Traversable.
+    (RFC: https://wiki.php.net/rfc/iterable)
   . String offset access now supports negative references, which will be
     counted from the end of the string.
     (RFC: https://wiki.php.net/rfc/negative-string-offsets)
@@ -125,6 +131,10 @@ PHP 7.1 UPGRADE NOTES
   . Added sapi_windows_cp_set(), sapi_windows_cp_get(), sapi_windows_cp_is_utf8(),
     sapi_windows_cp_conv() for codepage handling.
 
+- Standard:
+  . Added is_iterable() that determines if a value will be accepted by the new
+    iterable pseudo-type.
+
 ========================================
 7. New Classes and Interfaces
 ========================================