Home
last modified time | relevance | path

Searched refs:callback (Results 76 – 100 of 264) sorted by relevance

1234567891011

/PHP-8.2/ext/filter/tests/
H A D029.phpt8 /* Simple callback function */
35 /* Simple class method callback */
63 /* thrown exception in the callback */
80 filter_var(): Option must be a valid callback
81 filter_var(): Option must be a valid callback
82 filter_var(): Option must be a valid callback
H A Dfilter_callback_require_scalar.phpt8 $callback = function ($var) {
11 …return filter_var($var, FILTER_CALLBACK, ['options' => $callback, 'flags' => FILTER_REQUIRE_SCALAR…
/PHP-8.2/ext/standard/tests/array/
H A Darray_walk_recursive_variation7.phpt2 Test array_walk_recursive() function : usage variations - anonymous callback function
6 * Passing anonymous(run-time) callback function with following variations:
14 echo "*** Testing array_walk_recursive() : anonymous function as callback ***\n";
32 *** Testing array_walk_recursive() : anonymous function as callback ***
H A Darray_walk_variation7.phpt2 Test array_walk() function : usage variations - anonymous callback function
6 * Passing anonymous(run-time) callback function with following variations:
14 echo "*** Testing array_walk() : anonymous function as callback ***\n";
32 *** Testing array_walk() : anonymous function as callback ***
H A Darray_map_error.phpt18 echo "\n-- Testing array_map() function with less no. of arrays than callback function arguments --…
29 echo "\n-- Testing array_map() function with more no. of arrays than callback function arguments --…
42 -- Testing array_map() function with less no. of arrays than callback function arguments --
45 -- Testing array_map() function with more no. of arrays than callback function arguments --
H A Darray_diff_ukey_variation10.phpt2 Test array_diff_ukey() function : usage variation - Passing non-existing function name to callback
28 array_diff_ukey(): Argument #3 must be a valid callback, function "unknown_function" not found or i…
29 array_diff_ukey(): Argument #3 must be a valid callback, function "unknown_function" not found or i…
H A Darray_intersect_ukey_variation8.phpt2 … array_intersect_ukey() function : usage variation - Passing non-existing function name to callback
28 array_intersect_ukey(): Argument #3 must be a valid callback, function "unknown_function" not found…
29 array_intersect_ukey(): Argument #3 must be a valid callback, function "unknown_function" not found…
H A Darray_map_variation13.phpt2 Test array_map() function : usage variations - callback function with different return types
6 * Test array_map() by passing different callback function returning:
10 echo "*** Testing array_map() : callback with diff return value ***\n";
53 *** Testing array_map() : callback with diff return value ***
H A Darray_map_variation10.phpt2 Test array_map() function : usage variations - anonymous callback function
6 * Test array_map() by passing anonymous callback function with following variations
9 echo "*** Testing array_map() : anonymous callback function ***\n";
40 *** Testing array_map() : anonymous callback function ***
/PHP-8.2/ext/spl/tests/
H A DRecursiveCallbackFilterIteratorTest.phpt41 $callback = $test();
43 $it = new RecursiveCallbackFilterIterator($it, $callback);
52 // same test, with no reference to callback
57 unset($callback);
/PHP-8.2/Zend/tests/fibers/
H A Dgh10249.phpt6 $callback = function () {};
8 $fiber = new Fiber($callback);
/PHP-8.2/ext/phar/tests/
H A Dfrontcontroller32.phpt2 Phar front controller with valid callback that is not good
15 %ahar error: rewrite callback must return a string or false
H A Dfrontcontroller33.phpt2 Phar front controller with valid callback that does not return any value
15 phar error: rewrite callback must return a string or false
/PHP-8.2/ext/session/tests/
H A Dsession_set_save_handler_type_error.phpt51 Session callback must have a return value of type bool, array returned
53 Deprecated: session_start(): Session callback must have a return value of type bool, int returned i…
56 Session callback must have a return value of type bool, array returned
58 Deprecated: session_start(): Session callback must have a return value of type bool, int returned i…
/PHP-8.2/ext/spl/
H A Dspl_array.stub.php54 public function uasort(callable $callback): bool {} argument
57 public function uksort(callable $callback): bool {} argument
178 public function uasort(callable $callback): bool {} argument
184 public function uksort(callable $callback): bool {} argument
/PHP-8.2/ext/readline/
H A Dreadline.stub.php32 function readline_completion_function(callable $callback): bool {} argument
36 function readline_callback_handler_install(string $prompt, callable $callback): bool {} argument
/PHP-8.2/Zend/tests/
H A Dbug80184.phpt13 while ($callback = array_shift($callbacks) and ($callback() || true));
H A Dmethods-on-non-objects-call-user-func.phpt13 call_user_func(): Argument #1 ($callback) must be a valid callback, first array member is not a val…
H A Dbug70898.phpt16 array_map(): Argument #1 ($callback) must be a valid callback or null, function "000000000000000000…
H A Dbug31720.phpt15 array_walk(): Argument #2 ($callback) must be a valid callback, first array member is not a valid c…
/PHP-8.2/ext/phar/tests/cache_list/
H A Dfrontcontroller32.phpt2 Phar front controller with valid callback that is not good [cache_list]
16 %ahar error: rewrite callback must return a string or false
H A Dfrontcontroller33.phpt2 Phar front controller with valid callback that does not return any value [cache_list]
16 phar error: rewrite callback must return a string or false
/PHP-8.2/tests/lang/
H A Dcompare_objects_basic2.phpt9 echo "Simple test comparing two objects with different compare callback handler\n";
20 Simple test comparing two objects with different compare callback handler
/PHP-8.2/ext/standard/tests/general_functions/
H A D010.phpt23 register_shutdown_function(): Argument #1 ($callback) must be a valid callback, non-static method t…
/PHP-8.2/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_createfunction_002.phpt21 PDO::sqliteCreateFunction(): Argument #2 ($callback) must be a valid callback, function "bar" not f…

Completed in 34 milliseconds

1234567891011