rfc:cachediterable
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
rfc:cachediterable [2021/06/15 13:46] – tandre | rfc:cachediterable [2021/06/17 02:37] – tandre | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2021-02-06 | * Date: 2021-02-06 | ||
* Author: Tyson Andre, tandre@php.net | * Author: Tyson Andre, tandre@php.net | ||
- | * Status: | + | * Status: |
* Implementation: | * Implementation: | ||
* First Published at: https:// | * First Published at: https:// | ||
Line 11: | Line 11: | ||
Currently, PHP does not provide a built-in way to store the state of an arbitrary iterable for reuse later (when the iterable has arbitrary keys, or when keys might be repeated). It would be useful to do so for many use cases, such as: | Currently, PHP does not provide a built-in way to store the state of an arbitrary iterable for reuse later (when the iterable has arbitrary keys, or when keys might be repeated). It would be useful to do so for many use cases, such as: | ||
- | - Creating a rewindable copy of a non-rewindable Traversable (e.g. a '' | + | - Creating a rewindable copy of a non-rewindable Traversable (e.g. a '' |
- Generating an '' | - Generating an '' | ||
- Providing internal or userland helpers such as '' | - Providing internal or userland helpers such as '' | ||
Line 356: | Line 356: | ||
==== Poll: Reason for voting against this RFC ==== | ==== Poll: Reason for voting against this RFC ==== | ||
- | <doodle title=" | + | <doodle title=" |
- | * Object to namespace choice | + | * Object to the namespace choice |
- | * Object to name | + | * Object to the name |
- | * Object to design | + | * Object to the implementation |
* Don't see a use case | * Don't see a use case | ||
* Other | * Other | ||
Line 369: | Line 369: | ||
* [[rfc: | * [[rfc: | ||
* https:// | * https:// | ||
+ | * [[https:// | ||
===== Rejected Features ===== | ===== Rejected Features ===== |
rfc/cachediterable.txt · Last modified: 2021/06/29 14:24 by tandre