[GIT-PULLS] [php-src] PR #23299: Add array_search_range() function
[email protected] (sepehrphpr)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
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