?? ??? 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)
. 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)
- 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.
- 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)
. 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
========================================