[php-src] PR #23299: Add array_search_range() function
| From: | sepehrphpr | Date: | Sat, 15 Aug 2026 16:17:51 +0000 |
| Subject: | [php-src] PR #23299: Add array_search_range() function | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37903@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23299
Author: sepehrphpr
Implements RFC: [array_search_range](https://wiki.php.net/rfc/array_search_range)
## Changes
- Added
array_search_range() stub in ext/standard/basic_functions.stub.php
- Implemented C logic in ext/standard/array.c
- Added PHPT test in ext/standard/tests/array/array_search_range.phpt
## Description
Searches for a value within a specified range of an array and returns its key.
Target: PHP 8.7