Both sides previous revisionPrevious revisionNext revision | Previous revision |
rfc:any_all_on_iterable [2021/02/08 17:56] – add examples tandre | rfc:any_all_on_iterable [2021/06/13 14:36] (current) – tandre |
---|
* Date: 2020-08-30 | * Date: 2020-08-30 |
* Author: Tyson Andre, tandre@php.net | * Author: Tyson Andre, tandre@php.net |
* Status: Voting | * Status: Declined |
* First Published at: https://wiki.php.net/rfc/any_all_on_iterable | * First Published at: https://wiki.php.net/rfc/any_all_on_iterable |
* Implementation: https://github.com/php/php-src/pull/6053 | * Implementation: https://github.com/php/php-src/pull/6053 |
Add ''PHP\iterable\any(iterable $input, ?callable $callback = null): bool'' and ''PHP\iterable\all(iterable $input, ?callable $callback = null): bool'' (yes/no, requiring a 2/3 majority) | Add ''PHP\iterable\any(iterable $input, ?callable $callback = null): bool'' and ''PHP\iterable\all(iterable $input, ?callable $callback = null): bool'' (yes/no, requiring a 2/3 majority) |
| |
Voting started on 2021-02-08 and ends on 2021-02-22. | Voting started on 2021-02-08 and ended on 2021-02-22. |
| |
<doodle title="Add PHP\iterable\any() and all() to PHP?" voteType="single" auth="tandre" closed="false"> | <doodle title="Add PHP\iterable\any() and all() to PHP?" voteType="single" auth="tandre" closed="true"> |
* Yes | * Yes |
* No | * No |
- https://externals.io/message/111756 "[RFC] Global functions any() and all() on iterables" | - https://externals.io/message/111756 "[RFC] Global functions any() and all() on iterables" |
- [[rfc:any_all_on_iterable_straw_poll|Straw poll: Naming for *any() and *all() on iterables]] | - [[rfc:any_all_on_iterable_straw_poll|Straw poll: Naming for *any() and *all() on iterables]] |
- [[rfc:any_all_on_iterable_straw_poll_namespace|Straw poll: Using namespaces for *any() and *all() on iterables]] | - [[rfc:any_all_on_iterable_straw_poll_namespace|Straw poll: Using namespaces for *any() and *all() on iterables]] (older poll) |
| - [[rfc:namespaces_in_bundled_extensions|RFC: Namespaces in bundled PHP extensions]] (started after voting closed) |
| - [[rfc:cachediterable_straw_poll|Straw poll: Namespace to use for CachedIterable and iterable functionality]] (newer poll) |
===== Rejected Features ===== | ===== Rejected Features ===== |
| |