Skip to content

PHP: Provides a user-land polyfill for `array_find`, `array_find_key`, `array_any` and `array_all` functions added in PHP 8.4.

License

Notifications You must be signed in to change notification settings

PHP-Polyfills/array-find

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

array_find, array_find_key, array_any and array_all polyfills

Latest Stable Version License PHP Version Require

Provides user-land PHP polyfills for the array_find, array_find_key, array_any and array_all functions added in PHP 8.4.

Requires PHP 7.1 or later. Not supported on PHP 8.4 because these functions are natively implemented in PHP 8.4.

Installation

composer require polyfills/array-find

Usage

Simply use the array_find, array_find_key, array_any and array_all functions as if they were declared already.

Contributions

Contributions are welcome either as a GitHub issue or a PR to this repo.

About

PHP: Provides a user-land polyfill for `array_find`, `array_find_key`, `array_any` and `array_all` functions added in PHP 8.4.

Topics

Resources

License

Stars

Watchers

Forks

Languages