Home
last modified time | relevance | path

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

/PHP-8.4/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-8.4/
H A DNEWS436 . Fixed bug GH-15982 (Assertion failure with array_find when references are
1154 . Added array_find(), array_find_key(), array_all(), and array_any(). (josh)
H A DUPGRADING878 . Added functions array_find(), array_find_key(), array_all(), and
880 RFC: https://wiki.php.net/rfc/array_find
/PHP-8.4/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 56 milliseconds