Home
last modified time | relevance | path

Searched refs:array_find (Results 1 – 6 of 6) sorted by relevance

/php-src/ext/standard/tests/array/
H A Darray_find_basic.phpt2 Test array_find() function : basic functionality
27 var_dump(array_find($array1, fn($value) => $value > 3));
28 var_dump(array_find($array2, fn($value) => $value > 3));
29 var_dump(array_find($array2, fn($value) => $value > 5));
30 var_dump(array_find([], fn($value) => true));
36 var_dump(array_find($array1, function ($value) {
49 var_dump(array_find($array2, function ($value) {
62 var_dump(array_find($array1, 'even'));
64 var_dump(array_find($array1, function($value) {
68 var_dump(array_find($array1, [
[all …]
H A Dgh15982.phpt2 GH-15982 (Assertion failure with array_find when references are involved)
8 var_dump(array_find($arrayWithRef, fn () => true));
H A Darray_find_types.phpt2 basic array_find test
24 var_dump(array_find($array, function ($value, $key) {
31 var_dump(array_find($array, function ($value, $key) {
39 var_dump(array_find($array, function ($value, $arrayKey) use ($key) {
/php-src/ext/standard/
H A Dbasic_functions.stub.php1880 function array_find(array $array, callable $callback): mixed {} function
H A Dbasic_functions_arginfo.h2383 ZEND_FUNCTION(array_find);
2976 ZEND_FE(array_find, arginfo_array_find)
H A Darray.c6659 PHP_FUNCTION(array_find) argument

Completed in 41 milliseconds