Skip to content

Conversation

@nielsdos
Copy link
Member

@nielsdos nielsdos commented Mar 31, 2025

@mvorisek
Copy link
Contributor

Love it, reset() is not only semantically wrong, but also does not work on function/expression result.

@javiereguiluz

This comment was marked as resolved.

@nielsdos
Copy link
Member Author

nielsdos commented Apr 1, 2025

Good points, thanks for the feedback and I've incorporated it in the RFC document.

@TimWolla TimWolla linked an issue Apr 1, 2025 that may be closed by this pull request
@nielsdos nielsdos marked this pull request as ready for review April 1, 2025 20:15
@nielsdos nielsdos force-pushed the array-first-last-value branch from 264d60a to ab1145e Compare May 6, 2025 18:33
@nielsdos nielsdos merged commit 168343d into php:master May 7, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Two new functions array_first() and array_last()

4 participants