Re: Two new functions array_first() and array_last()

From: Date: Tue, 17 Oct 2023 16:48:53 +0000
Subject: Re: Two new functions array_first() and array_last()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-121355@lists.php.net to get a copy of this message
I see now, that makes sense. There is also a technique to make the return value [$key => $value] instead of just a value, but this loses simplicity. Thanks. Saki

« previous php.internals (#121355) next »