Re: [RFC] array_search_range
| From: | Morgan | Date: | Wed, 12 Aug 2026 22:56:55 +0000 |
| Subject: | Re: [RFC] array_search_range | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-132206@lists.php.net to get a copy of this message | ||
On 2026-08-13 02:27, سپهر محمودی wrote:
Hi everyone, The main motivation is to provide a memory-efficient way to search within a specific range of an array, avoiding the overhead of creating intermediate arrays with array_slice(). Have you thought about expanding this idea to include other functions with similar jobs (e.g. array_find, array_find_key, array_all, array_any)?