Home
last modified time | relevance | path

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

12345678910>>...15

/PHP-7.3/ext/session/tests/
H A Dsession_set_save_handler_variation4.phpt18 …bool session_set_save_handler(callback $open, callback $close, callback $read, callback $write, ca…
H A Dsession_set_save_handler_closures.phpt15 …bool session_set_save_handler(callback $open, callback $close, callback $read, callback $write, ca…
H A Dsession_set_save_handler_variation5.phpt19 …bool session_set_save_handler(callback $open, callback $close, callback $read, callback $write, ca…
/PHP-7.3/ext/standard/tests/array/
H A Darray_map_error.phpt5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
6 * Description: Applies the callback to the elements of the given arrays
27 echo "\n-- Testing array_map() function with less no. of arrays than callback function arguments --…
38 echo "\n-- Testing array_map() function with more no. of arrays than callback function arguments --…
58 -- Testing array_map() function with less no. of arrays than callback function arguments --
61 -- Testing array_map() function with more no. of arrays than callback function arguments --
H A Darray_walk_variation8.phpt2 Test array_walk() function : usage variations - buit-in function as callback
11 * Passing different buit-in functionns as callback function
17 echo "*** Testing array_walk() : built-in function as callback ***\n";
33 *** Testing array_walk() : built-in function as callback ***
40 Warning: array_walk() expects parameter 2 to be a valid callback, function 'echo' not found or inva…
H A Darray_intersect_uassoc_variation11.phpt2 Test array_intersect_uassoc() function : usage variation - Passing class without string to callback
5 /* Prototype : array array_intersect_uassoc(array arr1, array arr2 [, array ...], callback key_com…
6 …tes the intersection of arrays with additional index check, compares indexes by a callback function
38 Error: 2 - array_intersect_uassoc() expects parameter 3 to be a valid callback, no array or string …
40 Error: 2 - array_intersect_uassoc() expects parameter 4 to be a valid callback, no array or string …
H A Darray_intersect_ukey_variation10.phpt2 Test array_intersect_ukey() function : usage variation - Passing class without string to callback (…
5 /* Prototype : array array_intersect_ukey(array arr1, array arr2 [, array ...], callback key_compa…
6 …* Description: Computes the intersection of arrays using a callback function on the keys for compa…
39 Error: 2 - array_intersect_ukey() expects parameter 3 to be a valid callback, no array or string gi…
41 Error: 2 - array_intersect_ukey() expects parameter 4 to be a valid callback, no array or string gi…
H A Darray_walk_recursive_variation8.phpt2 Test array_walk_recursive() function : usage variations - buit-in function as callback
11 * Passing different buit-in functionns as callback function
17 echo "*** Testing array_walk_recursive() : built-in function as callback ***\n";
33 *** Testing array_walk_recursive() : built-in function as callback ***
40 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, function 'echo' not fou…
H A Darray_map_object2.phpt5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
6 * Description: Applies the callback to the elements of the given arrays
40 Warning: array_map() expects parameter 1 to be a valid callback, class 'non-existent' not found in …
44 Warning: array_map() expects parameter 1 to be a valid callback, class 'SimpleClass' does not have …
H A Darray_walk_error2.phpt2 Test array_walk() function : error conditions - callback parameters
11 * Testing array_walk() by passing more number of parameters to callback function
22 echo "*** Testing array_walk() : error conditions - callback parameters ***\n";
48 echo "-- Testing array_walk() function with too many callback parameters --\n";
58 *** Testing array_walk() : error conditions - callback parameters ***
63 -- Testing array_walk() function with too many callback parameters --
H A Darray_walk_recursive_error2.phpt2 Test array_walk_recursive() function : error conditions - callback parameters
11 * Testing array_walk_recursive() by passing more number of parameters to callback function
22 echo "*** Testing array_walk_recursive() : error conditions - callback parameters ***\n";
48 echo "-- Testing array_walk_recursive() function with too many callback parameters --\n";
58 *** Testing array_walk_recursive() : error conditions - callback parameters ***
63 -- Testing array_walk_recursive() function with too many callback parameters --
H A Darray_diff_uassoc_variation14.phpt2 …assoc() function : usage variation -Passing classWithoutToString (handling fatal error) to callback
5 /* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_fun…
7 * user supplied callback function
37 Error: 2 - array_diff_uassoc() expects parameter 3 to be a valid callback, no array or string given…
H A Darray_walk_error1.phpt12 /* Prototype : callback(mixed value, mixed key, mixed user_data)
17 function callback ($value, $key, $user_data) {
29 echo "-- Testing array_walk() function with non existent callback function --\n";
44 -- Testing array_walk() function with non existent callback function --
46 Warning: array_walk() expects parameter 2 to be a valid callback, function 'non_existent' not found…
H A Darray_walk_recursive_error1.phpt12 /* Prototype : callback(mixed value, mixed key, mixed user_data)
17 function callback ($value, $key, $user_data) {
30 echo "-- Testing array_walk_recursive() function with non existent callback function --\n";
45 -- Testing array_walk_recursive() function with non existent callback function --
47 Warning: array_walk_recursive() expects parameter 2 to be a valid callback, function 'non_existent'…
H A Darray_diff_ukey_variation10.phpt2 Test array_diff_ukey() function : usage variation - Passing non-existing function name to callback
5 /* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
30 Warning: array_diff_ukey() expects parameter 3 to be a valid callback, function 'unknown_function' …
33 Warning: array_diff_ukey() expects parameter 3 to be a valid callback, function 'unknown_function' …
38 Warning: array_diff_ukey() expects parameter 3 to be a valid callback, function 'unknown_function' …
H A Darray_filter_basic.phpt5 /* Prototype : array array_filter(array $input [, callback $callback])
6 * Description: Filters elements from the array via the callback.
15 $input = array(1, 2, 3, 0, -1); // 0 will be considered as FALSE and removed in default callback
H A Darray_reduce_error.phpt5 /* Prototype : mixed array_reduce(array input, mixed callback [, int initial])
6 * Description: Iteratively reduce the array to a single value via the callback.
17 $callback = 1;
20 var_dump( array_reduce($input, $callback, $initial, $extra_arg) );
H A Darray_walk_variation4.phpt16 // callback function
17 /* Prototype : callback(mixed $value, mixed $key)
22 function callback($value, $key)
39 var_dump( array_walk( $input, "callback"));
/PHP-7.3/ext/xml/tests/
H A Dbug72085.phpt15 Warning: Invalid callback Exception in %s%ebug72085.php:%d
21 Warning: Invalid callback Exception in %s%ebug72085.php:%d
27 Warning: Invalid callback Exception in %s%ebug72085.php:%d
33 Warning: Invalid callback Exception in %s%ebug72085.php:%d
39 Warning: Invalid callback Exception in %s%ebug72085.php:%d
45 Warning: Invalid callback Exception in %s%ebug72085.php:%d
51 Warning: Invalid callback Exception in %s%ebug72085.php:%d
57 Warning: Invalid callback Exception in %s%ebug72085.php:%d
63 Warning: Invalid callback Exception in %s%ebug72085.php:%d
69 Warning: Invalid callback Exception in %s%ebug72085.php:%d
/PHP-7.3/Zend/tests/
H A Dbug70898.phpt12 Warning: array_map() expects parameter 1 to be a valid callback, function '000000000000000000000000…
14 Warning: array_map() expects parameter 1 to be a valid callback, function '' not found or invalid f…
16 Warning: array_map() expects parameter 1 to be a valid callback, function '' not found or invalid f…
18 Warning: array_map() expects parameter 1 to be a valid callback, function '' not found or invalid f…
20 Warning: array_map() expects parameter 1 to be a valid callback, function '' not found or invalid f…
H A Dcall_user_func_002.phpt19 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'foo' not found in %s o…
21 Warning: call_user_func() expects parameter 1 to be a valid callback, class '' not found in %s on l…
25 Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a v…
29 Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a v…
H A Dbug70895.phpt11 Warning: array_map\(\) expects parameter 1 to be a valid callback, function '%n' not found or inval…
13 Warning: array_map\(\) expects parameter 1 to be a valid callback, function '%n %i' not found or in…
15 Warning: array_map\(\) expects parameter 1 to be a valid callback, function '%n %i aoeu %f aoeu %p'…
/PHP-7.3/ext/standard/tests/general_functions/
H A Dcallbacks_002.phpt12 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'Foo' not found in %s o…
14 Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a v…
16 Warning: call_user_func() expects parameter 1 to be a valid callback, second array member is not a …
/PHP-7.3/ext/pcre/tests/
H A Dbug37911.phpt6 function callback($match)
12 var_dump(preg_replace_callback('|(?P<name>blub)|', 'callback', 'bla blub blah'));
17 var_dump(preg_replace_callback('|(?P<1>blub)|', 'callback', 'bla blub blah'));
/PHP-7.3/ext/spl/tests/
H A DCallbackFilterIteratorTest.phpt38 $callback = $test();
40 $it = new CallbackFilterIterator($it, $callback);
48 // same test, with no reference to callback
52 unset($callback);

Completed in 25 milliseconds

12345678910>>...15