From: Aaron Piotrowski Date: Mon, 4 Jul 2016 04:35:40 +0000 (-0500) Subject: Update NEWS and UPGRADING X-Git-Tag: php-7.1.0alpha3~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8507d4f582997ae3efe074f54900af2936835e6;p=php Update NEWS and UPGRADING --- diff --git a/NEWS b/NEWS index 97751aa325..8609774804 100644 --- 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) diff --git a/UPGRADING b/UPGRADING index b918e3db7a..9af87e98e5 100644 --- 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 ========================================