Home
last modified time | relevance | path

Searched refs:callback (Results 126 – 150 of 365) sorted by relevance

12345678910>>...15

/PHP-7.3/ext/standard/tests/array/
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
H A Darray_map_variation5.phpt5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
6 * Description: Applies the callback to the elements of the given arrays
16 function callback($a)
73 var_dump( array_map('callback', $arr1) );
H A Darray_walk_recursive_variation7.phpt2 Test array_walk_recursive() function : usage variations - anonymous callback function
11 * Passing anonymous(run-time) callback function with following variations:
19 echo "*** Testing array_walk_recursive() : anonymous function as callback ***\n";
40 *** Testing array_walk_recursive() : anonymous function as callback ***
H A Darray_walk_variation7.phpt2 Test array_walk() function : usage variations - anonymous callback function
11 * Passing anonymous(run-time) callback function with following variations:
19 echo "*** Testing array_walk() : anonymous function as callback ***\n";
40 *** Testing array_walk() : anonymous function as callback ***
H A Darray_walk_object1.phpt17 * Prototype : callback(mixed $value, mixed $key, int $addvalue
24 function callback($value, $key, $user_data)
48 var_dump( array_walk($input, "callback", 1));
H A Darray_walk_recursive_object1.phpt15 * Prototype : callback(mixed $value, mixed $key, int $addvalue
22 function callback($value, $key, $user_data)
46 var_dump( array_walk_recursive($input, "callback", 1));
H A Darray_map_variation3.phpt5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
6 * Description: Applies the callback to the elements of the given arrays
16 function callback($a)
53 var_dump( array_map('callback', $arr1) );
H A Darray_map_variation4.phpt5 /* Prototype : array array_map ( callback $callback , array $arr1 [, array $... ] )
6 * Description: Applies the callback to the elements of the given arrays
16 function callback($a)
73 var_dump( array_map('callback', $arr1) );
H A Darray_intersect_uassoc_error.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
45 Warning: array_intersect_uassoc() expects parameter 4 to be a valid callback, no array or string gi…
53 Warning: array_intersect_uassoc() expects parameter 3 to be a valid callback, second array member i…
H A Darray_diff_uassoc_error.phpt5 /* Prototype : array array_diff_uassoc(array arr1, array arr2 [, array ...], callback key_comp_fun…
7 * user supplied callback function
47 Warning: array_diff_uassoc() expects parameter 4 to be a valid callback, array must have exactly tw…
50 Warning: array_diff_uassoc() expects parameter 6 to be a valid callback, array must have exactly tw…
H A Darray_uintersect_error.phpt5 /* Prototype : array array_uintersect(array arr1, array arr2 [, array ...], callback data_compare_…
6 … which are present in all the other arguments. Data is compared by using an user-supplied callback.
38 Warning: array_uintersect() expects parameter 4 to be a valid callback, no array or string given in…
/PHP-7.3/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()
/PHP-7.3/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.3/ext/xmlrpc/tests/
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.3/Zend/tests/
H A Dexception_handler_004.phpt14 Warning: set_exception_handler() expects the argument (fo) to be a valid callback in %s on line %d
16 Warning: set_exception_handler() expects the argument (::) to be a valid callback in %s on line %d
H A Dindirect_call_array_005.phpt18 $callback = ['TestClass', 'method'];
19 echo $callback();
H A Dindirect_call_string_003.phpt18 $callback = 'TestClass::method';
19 echo $callback();
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_events.h17 void (*callback)(struct fpm_event_s *, short, void *); member
43 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *,…
/PHP-7.3/ext/spl/tests/
H A DarrayObject_uasort_error1.phpt5 /* Prototype : int ArrayObject::uasort(callback cmp_function)
6 * Description: proto int ArrayIterator::uasort(callback cmp_function)
H A DarrayObject_uksort_error1.phpt5 /* Prototype : int ArrayObject::uksort(callback cmp_function)
6 * Description: proto int ArrayIterator::uksort(callback cmp_function)
H A DarrayObject_uasort_basic1.phpt5 /* Prototype : int ArrayObject::uasort(callback cmp_function)
6 * Description: proto int ArrayIterator::uasort(callback cmp_function)
H A DarrayObject_uksort_basic1.phpt5 /* Prototype : int ArrayObject::uksort(callback cmp_function)
6 * Description: proto int ArrayIterator::uksort(callback cmp_function)
/PHP-7.3/ext/pdo_sqlite/
H A Dsqlite_driver.c145 if (!Z_ISUNDEF(collation->callback)) { in pdo_sqlite_cleanup_callbacks()
146 zval_ptr_dtor(&collation->callback); in pdo_sqlite_cleanup_callbacks()
514 zval *callback; in PHP_METHOD() local
525 Z_PARAM_ZVAL(callback) in PHP_METHOD()
534 if (!zend_is_callable(callback, 0, NULL)) { in PHP_METHOD()
535 zend_string *cbname = zend_get_callable_name(callback); in PHP_METHOD()
550 ZVAL_COPY(&func->func, callback); in PHP_METHOD()
651 zval *callback; in PHP_METHOD() local
660 Z_PARAM_ZVAL(callback) in PHP_METHOD()
666 if (!zend_is_callable(callback, 0, NULL)) { in PHP_METHOD()
[all …]
/PHP-7.3/ext/pcre/pcre2lib/
H A Dpcre2_jit_misc.c159 pcre2_jit_stack_assign(pcre2_match_context *mcontext, pcre2_jit_callback callback, in pcre2_jit_stack_assign() argument
164 (void)callback; in pcre2_jit_stack_assign()
169 mcontext->jit_callback = callback; in pcre2_jit_stack_assign()
/PHP-7.3/ext/curl/tests/
H A Dbug77535.phpt2 Bug #77535 (Invalid callback, h2 server push)
64 $callback = static function () {
69 curl_multi_setopt($this->mh, CURLMOPT_PUSHFUNCTION, $callback);

Completed in 152 milliseconds

12345678910>>...15