Home
last modified time | relevance | path

Searched refs:callback (Results 176 – 200 of 344) sorted by last modified time

12345678910>>...14

/PHP-5.5/ext/standard/tests/array/
H A Darray_intersect_uassoc_variation8.phpt5 /* 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
H A Darray_intersect_uassoc_variation9.phpt2 …rray_intersect_uassoc() function : usage variation - Passing non-existing function name 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
29 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, function 'unknown_fun…
32 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, function 'unknown_fun…
37 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, function 'unknown_fun…
H A Darray_intersect_ukey_basic.phpt6 * proto array array_intersect_ukey ( array $array1, array $array2 [, array $ ..., callback $key_com…
H A Darray_intersect_ukey_error.phpt5 /* 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…
44 Warning: array_intersect_ukey() expects parameter 4 to be a valid callback, no array or string give…
H A Darray_intersect_ukey_variation1.phpt5 /* 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…
H A Darray_intersect_ukey_variation3.phpt2 Test array_intersect_ukey() function : usage variation - Passing unexpected values to callback argu…
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…
101 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, no array or string give…
104 Warning: array_intersect_ukey() expects parameter 4 to be a valid callback, no array or string give…
109 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, no array or string give…
112 Warning: array_intersect_ukey() expects parameter 4 to be a valid callback, no array or string give…
117 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, no array or string give…
120 Warning: array_intersect_ukey() expects parameter 4 to be a valid callback, no array or string give…
125 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, no array or string give…
[all …]
H A Darray_intersect_ukey_variation4.phpt5 /* 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…
H A Darray_intersect_ukey_variation5.phpt5 /* 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…
H A Darray_intersect_ukey_variation6.phpt5 /* 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…
H A Darray_intersect_ukey_variation7.phpt5 /* 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…
H A Darray_intersect_ukey_variation8.phpt2 … array_intersect_ukey() function : usage variation - Passing non-existing function name 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…
29 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, function 'unknown_funct…
32 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, function 'unknown_funct…
37 Warning: array_intersect_ukey() expects parameter 3 to be a valid callback, function 'unknown_funct…
H A Darray_intersect_ukey_variation9.phpt2 Test array_intersect_ukey() function : usage variation - Passing class/object methods 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…
28 echo "\n-- Testing array_intersect_ukey() function using class with static method as callback --\n";
32 echo "\n-- Testing array_intersect_uassoc() function using class with regular method as callback --…
40 -- Testing array_intersect_ukey() function using class with static method as callback --
54 -- Testing array_intersect_uassoc() function using class with regular method as callback --
H A Darray_map_001.phpt2 array_map() and exceptions in the callback
21 Warning: array_map(): An error occurred while invoking the map callback in %s on line %d
H A Darray_map_basic.phpt5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
6 * Description: Applies the callback to the elements of the given arrays
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
23 echo "\n-- Testing array_map() function with less no. of arrays than callback function arguments --…
30 echo "\n-- Testing array_map() function with more no. of arrays than callback function arguments --…
50 -- Testing array_map() function with less no. of arrays than callback function arguments --
66 -- Testing array_map() function with more no. of arrays than callback function arguments --
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_intersect_ukey_variation2.phpt5 /* 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…
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_filter_error.phpt5 /* Prototype : array array_filter(array $input [, callback $callback])
6 * Description: Filters elements from the array via the callback.
17 /* callback function
33 // with incorrect callback function
34 echo "-- Testing array_filter() function with incorrect callback --";
47 -- Testing array_filter() function with incorrect callback --
48 Warning: array_filter() expects parameter 2 to be a valid callback, function 'even' not found or in…
H A Darray_filter_object.phpt5 /* Prototype : array array_filter(array $input [, callback $callback])
6 * Description: Filters elements from the array via the callback.
90 // with default callback
93 // with always_true callback function
96 // with always_false callback function
H A Darray_filter_variation1.phpt5 /* Prototype : array array_filter(array $input [, callback $callback])
6 * Description: Filters elements from the array via the callback.
H A Darray_filter_variation2.phpt2 Test array_filter() function : usage variations - Unexpected values for 'callback' function argument
5 /* Prototype : array array_filter(array $input [, callback $callback])
6 * Description: Filters elements from the array via the callback.
10 /* Passing different scalar and nonscalar values in place of 'callback' argument
12 echo "*** Testing array_filter() : usage variations - unexpected values for 'callback' function***\…
33 // different scalar and nonscalar values in place of callback function
87 // loop through each element of the 'values' for callback
99 *** Testing array_filter() : usage variations - unexpected values for 'callback' function***
101 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s …
104 Warning: array_filter() expects parameter 2 to be a valid callback, no array or string given in %s …
[all …]
H A Darray_filter_variation3.phpt5 /* Prototype : array array_filter(array $input [, callback $callback])
6 * Description: Filters elements from the array via the callback.
14 // callback function returning always false
20 // callback function returning always true
41 // loop through each element of 'input' with default callback
H A Darray_filter_variation4.phpt2 Test array_filter() function : usage variations - Different types of 'callback' function
5 /* Prototype : array array_filter(array $input [, callback $callback])
6 * Description: Filters elements from the array via the callback.
11 * Passing different types of callback functions to array_filter()
18 echo "*** Testing array_filter() : usage variation - different 'callback' functions***\n";
23 // callback function without parameters and with return value
31 // callback function with parameter and without return value
39 // callback function without parameter and without return value
46 // callback function with parameter and with return value
62 *** Testing array_filter() : usage variation - different 'callback' functions***
H A Darray_filter_variation5.phpt5 /* Prototype : array array_filter(array $input [, callback $callback])
6 * Description: Filters elements from the array via the callback.
11 * With default callback function argument, array_filter() removes elements which are interpreted as…
15 // callback function always_true
21 // callback function always_false
57 // With default callback function
60 // With callback function which returns always true
63 // With callback function which returns always false

Completed in 56 milliseconds

12345678910>>...14