Home
last modified time | relevance | path

Searched refs:callback (Results 101 – 125 of 365) sorted by relevance

12345678910>>...15

/PHP-7.3/ext/standard/tests/array/
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_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_map_object1.phpt5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
6 * Description: Applies the callback to the elements of the given arrays
130 Deprecated: array_map() expects parameter 1 to be a valid callback, non-static method SimpleClass::…
141 Warning: array_map() expects parameter 1 to be a valid callback, cannot access private method Simpl…
147 Warning: array_map() expects parameter 1 to be a valid callback, cannot access protected method Sim…
153 Warning: array_map() expects parameter 1 to be a valid callback, array must have exactly two member…
159 Deprecated: array_map() expects parameter 1 to be a valid callback, non-static method ChildClass::e…
172 Deprecated: array_map() expects parameter 1 to be a valid callback, non-static method FinalClass::f…
192 Warning: array_map() expects parameter 1 to be a valid callback, cannot access private method Stati…
196 Warning: array_map() expects parameter 1 to be a valid callback, cannot access protected method Sta…
H A Darray_walk_recursive_variation4.phpt16 // callback function
17 /* Prototype : callback(mixed $value, mixed $key)
22 function callback($value, $key)
39 var_dump( array_walk_recursive( $input, "callback"));
H A Darray_walk_recursive_variation5.phpt24 // callback function
25 /* Prototype : callback(int $value, mixed $key)
30 function callback($value, $key)
39 var_dump( array_walk_recursive($input, "callback"));
H A Darray_walk_variation5.phpt24 // callback function
25 /* Prototype : callback(int $value, mixed $key)
30 function callback($value, $key)
39 var_dump( array_walk($input, "callback"));
H A Darray_diff_ukey_variation11.phpt2 Test array_diff_ukey() function : usage variation - Passing class without string to callback (Handl…
5 /* Prototype : array array_diff_ukey(array arr1, array arr2 [, array ...], callback key_comp_func)
40 Error: 2 - array_diff_ukey() expects parameter 3 to be a valid callback, no array or string given, …
42 Error: 2 - array_diff_ukey() expects parameter 4 to be a valid callback, no array or string given, …
H A Darray_reduce_variation2.phpt5 /* Prototype : mixed array_reduce(array input, mixed callback [, int initial])
6 * Description: Iteratively reduce the array to a single value via the callback.
27 Warning: array_reduce() expects parameter 2 to be a valid callback, function 'bogusbogus' not found…
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
/PHP-7.3/ext/session/tests/
H A Dsession_set_save_handler_variation6.phpt18 …bool session_set_save_handler(callback $open, callback $close, callback $read, callback $write, ca…
H A Dsession_set_save_handler_basic.phpt16 …bool session_set_save_handler(callback $open, callback $close, callback $read, callback $write, ca…
/PHP-7.3/ext/filter/tests/
H A D029.phpt8 /* Simple callback function */
20 /* Simple class method callback */
65 /* thrown exception in the callback */
83 Warning: filter_var(): First argument is expected to be a valid callback in %s on line %d
86 Warning: filter_var(): First argument is expected to be a valid callback in %s on line %d
89 Warning: filter_var(): First argument is expected to be a valid callback in %s on line %d
/PHP-7.3/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-7.3/ext/standard/tests/assert/
H A Dassert03.phpt2 assert() - set callback using ini_set()
6 assert.callback =
31 ini_set("assert.callback", "b");
H A Dassert_basic4.phpt8 assert.callback = f1
25 echo "Initial values: ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
36 Initial values: ini.get("assert.callback") => [f1]
/PHP-7.3/ext/xmlrpc/tests/
H A Dbug45556.phpt2 Bug #45556 (Return value from callback isn't freed)
30 Warning: xmlrpc_server_call_method(): Invalid callback 'foobar' passed in %s on line %d
34 Warning: xmlrpc_server_call_method(): Invalid callback 'foo::bar' passed in %s on line %d
/PHP-7.3/ext/phar/tests/
H A Dfrontcontroller31.phpt2 Phar front controller with invalid callback for rewrites
15 phar error: invalid rewrite callback
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-7.3/tests/classes/
H A Dautoload_012.phpt2 Ensure callback methods in unknown classes trigger autoload.
14 Warning: call_user_func() expects parameter 1 to be a valid callback, class 'UndefC' not found in %…
/PHP-7.3/ext/readline/tests/
H A Dreadline_completion_function_001.phpt17 foreach ($data as $callback) {
18 readline_completion_function($callback);
/PHP-7.3/ext/phar/tests/cache_list/
H A Dfrontcontroller31.phpt2 Phar front controller with invalid callback for rewrites [cache_list]
16 phar error: invalid rewrite callback
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-7.3/tests/lang/
H A Dcompare_objects_basic2.phpt9 echo "Simple test comparing two objects with different compare callback handler\n";
21 Simple test comparing two objects with different compare callback handler

Completed in 43 milliseconds

12345678910>>...15