[PHP-DEV] [RFC] array_search_range

Hi everyone,

I would like to propose a new function for PHP: array_search_range().

The RFC for this proposal can be found here:
https://wiki.php.net/rfc/array_search_range

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().

I appreciate your feedback and discussion on this proposal.

Best regards,
Sepehr Mahmoudi