Skip to content

Conversation

@ndossche
Copy link
Member

@ndossche ndossche 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.

@ndossche
Copy link
Member Author

ndossche 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
@ndossche ndossche marked this pull request as ready for review April 1, 2025 20:15
@ndossche ndossche force-pushed the array-first-last-value branch from 264d60a to ab1145e Compare May 6, 2025 18:33
@ndossche ndossche 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