com php-src: Update NEWS and UPGRADING: NEWS UPGRADING

From: Date: Mon, 04 Jul 2016 04:35:40 +0000
Subject: com php-src: Update NEWS and UPGRADING: NEWS UPGRADING
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92752@lists.php.net to get a copy of this message
Commit: d8507d4f582997ae3efe074f54900af2936835e6 Author: Aaron Piotrowski <aaron@trowski.com> Sun, 3 Jul 2016 23:35:40 -0500 Parents: 40cfc4fcccbdbbf1b0ba439e26dadac1488060ca Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d8507d4f582997ae3efe074f54900af2936835e6 Log: Update NEWS and UPGRADING Changed paths: M NEWS M UPGRADING Diff: diff --git a/NEWS b/NEWS index 97751aa..8609774 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 b918e3d..9af87e9 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 ========================================

« previous php.cvs (#92752) next »