Searched refs:array_find (Results 1 – 8 of 8) sorted by relevance
/PHP-8.4/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-8.4/ |
H A D | NEWS | 436 . 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 D | UPGRADING | 878 . 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 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 56 milliseconds