Home
last modified time | relevance | path

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

12345678910>>...13

/PHP-7.4/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.4/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_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_variation8.phpt5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
6 * Description: Applies the callback to the elements of the given arrays
/PHP-7.4/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
H A Dbug45555.phpt20 Warning: xmlrpc_server_call_method(): Invalid callback '1' passed in %s on line %d
22 Warning: xmlrpc_server_call_method(): Invalid callback 'foo::bar' passed in %s on line %d
/PHP-7.4/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.4/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.4/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.4/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.4/ext/readline/tests/
H A Dreadline_completion_function_001.phpt17 foreach ($data as $callback) {
18 readline_completion_function($callback);
/PHP-7.4/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.4/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
/PHP-7.4/ext/pcre/tests/
H A Dpreg_replace_callback3.phpt30 Warning: preg_replace_callback(): Requires argument 2, '2', to be a valid callback in %s on line %d
33 Warning: preg_replace_callback(): Requires argument 2, '2', to be a valid callback in %s on line %d
36 Warning: preg_replace_callback(): Requires argument 2, '2', to be a valid callback in %s on line %d
/PHP-7.4/ext/oci8/
H A Doci8_failover.c98 int php_oci_register_taf_callback(php_oci_connection *connection, zval *callback) in php_oci_register_taf_callback() argument
106 if (!callback) { in php_oci_register_taf_callback()
125 ZVAL_COPY(&connection->taf_callback, callback); in php_oci_register_taf_callback()

Completed in 31 milliseconds

12345678910>>...13