Re: array_reduce callback key
| From: | Bilge | Date: | Wed, 17 Jul 2024 00:35:31 +0000 |
| Subject: | Re: array_reduce callback key | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124452@lists.php.net to get a copy of this message | ||
On Wed, 17 Jul 2024, 01:29 mickmackusa, <mickmackusa@gmail.com> wrote:
> It is untrue that you "can't access it"; you just need to use an array of
> keys as the input array.
>
>> It is absolutely true and your workaround is just that; a workaround that
doesn't work at all when you also need the value.
Cheers,
Bilge