/PHP-7.3/ext/session/tests/ |
H A D | session_set_save_handler_variation4.phpt | 18 …bool session_set_save_handler(callback $open, callback $close, callback $read, callback $write, ca…
|
H A D | session_set_save_handler_closures.phpt | 15 …bool session_set_save_handler(callback $open, callback $close, callback $read, callback $write, ca…
|
H A D | session_set_save_handler_variation5.phpt | 19 …bool session_set_save_handler(callback $open, callback $close, callback $read, callback $write, ca…
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | array_map_error.phpt | 5 /* 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 D | array_walk_variation8.phpt | 2 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 D | array_intersect_uassoc_variation11.phpt | 2 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 D | array_intersect_ukey_variation10.phpt | 2 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 D | array_walk_recursive_variation8.phpt | 2 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 D | array_map_object2.phpt | 5 /* 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 D | array_walk_error2.phpt | 2 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 D | array_walk_recursive_error2.phpt | 2 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 D | array_diff_uassoc_variation14.phpt | 2 …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 D | array_walk_error1.phpt | 12 /* 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 D | array_walk_recursive_error1.phpt | 12 /* 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 D | array_diff_ukey_variation10.phpt | 2 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 D | array_filter_basic.phpt | 5 /* 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 D | array_reduce_error.phpt | 5 /* 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 D | array_walk_variation4.phpt | 16 // 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 D | bug72085.phpt | 15 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 D | bug70898.phpt | 12 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 D | call_user_func_002.phpt | 19 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 D | bug70895.phpt | 11 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 D | callbacks_002.phpt | 12 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 D | bug37911.phpt | 6 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 D | CallbackFilterIteratorTest.phpt | 38 $callback = $test(); 40 $it = new CallbackFilterIterator($it, $callback); 48 // same test, with no reference to callback 52 unset($callback);
|