Searched refs:array_find (Results 1 – 6 of 6) sorted by relevance
/php-src/ext/standard/tests/array/ |
H A D | array_find_basic.phpt | 2 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 D | gh15982.phpt | 2 GH-15982 (Assertion failure with array_find when references are involved) 8 var_dump(array_find($arrayWithRef, fn () => true));
|
H A D | array_find_types.phpt | 2 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 D | basic_functions.stub.php | 1880 function array_find(array $array, callable $callback): mixed {} function
|
H A D | basic_functions_arginfo.h | 2383 ZEND_FUNCTION(array_find); 2976 ZEND_FE(array_find, arginfo_array_find)
|
H A D | array.c | 6659 PHP_FUNCTION(array_find) argument
|
Completed in 59 milliseconds