1. Go to this page and download the library: Download schnittstabil/array_some library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?phprequire_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
/**
* Checks whether some element in the array passes the test implemented by the callback function.
*
* @param array $array The array to iterate over
* @param callable $callback The callback function to use
*
* @return bool
*/functionarray_some(array $array, callable $callback);
/**
* Checks whether some key in the array passes the test implemented by the callback function.
*
* @param array $array The array to iterate over
* @param callable $callback The callback function to use
*
* @return bool
*/functionarray_some_key(array $array, callable $callback);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.