←back to thread

PHP 8.5

(stitcher.io)
201 points brentroose | 1 comments | | HN request time: 0s | source
Show context
theoldgreybeard ◴[] No.45991985[source]
Can’t believe we’re getting array_first, array_last and fatal error stack traces in PHP before GTA6.
replies(1): >>45992084 #
1. neor ◴[] No.45992084[source]
Nice additions, but haven't really missed them a lot.

Most of the time if I want the first or last element I don't care about the array itself so array_shift and array_pop work just fine.