Re: ArrayAccess and array_key_exists function

From: Date: Thu, 22 Feb 2024 18:55:57 +0000
Subject: Re: ArrayAccess and array_key_exists function
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-122472@lists.php.net to get a copy of this message
Hi (Robert, Ondrej, please apologize the duplicate mail, the list rejected my first attempt, because the previously used alias tim@ is no longer accepted as a valid sender, I'll need to update my subscription) On 2/20/24 14:21, Robert Landers wrote:
I'd love to see all array_* functions accept iterators/objects instead of only just arrays. Yes, I know the name says "array" but often we just mean "do this operation on this thing that looks enough like an array for now."
This is probably a good opportunity to point out this mailing list thread once more: https://externals.io/message/118896#118896 Best regards Tim Düsterhus

« previous php.internals (#122472) next »