Skip to content

Add array_search_range() function - #23299

Closed
sepehrphpr wants to merge 39 commits into
php:masterfrom
sepehrphpr:master
Closed

Add array_search_range() function#23299
sepehrphpr wants to merge 39 commits into
php:masterfrom
sepehrphpr:master

Conversation

@sepehrphpr

Copy link
Copy Markdown

Implements 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant