Home
last modified time | relevance | path

Searched refs:callback (Results 26 – 50 of 307) sorted by last modified time

12345678910>>...13

/php-src/sapi/phpdbg/
H A Dphpdbg_watch.c1287 typedef struct { int (*callback)(zval *zv, phpdbg_watch_element *); zend_string *str; } phpdbg_watc… member
1298 ret = info->callback(zv, element);
1359 static int phpdbg_watchpoint_parse_symtables(char *input, size_t len, int (*callback)(zval *, phpdb…
1368 if (callback == phpdbg_create_array_watchpoint) {
1373 info.callback = callback;
/php-src/ext/ldap/
H A Dldap_arginfo.h282 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 1)
H A Dldap.stub.php772 function ldap_set_rebind_proc(LDAP\Connection $ldap, ?callable $callback): bool {}
/php-src/ext/mbstring/
H A Dmbstring.stub.php215 function mb_ereg_replace_callback(string $pattern, callable $callback, string $string, ?string $opt… argument
H A Dmbstring_arginfo.h257 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
/php-src/ext/dom/lexbor/lexbor/core/
H A Davl.h85 lexbor_avl_node_f callback, void *ctx);
H A Dbst.c426 callback((lxb_char_t *) "\t", 1, ctx); in lexbor_bst_serialize_entry()
428 callback((lxb_char_t *) "<left ", 6, ctx); in lexbor_bst_serialize_entry()
433 callback(buff, len, ctx); in lexbor_bst_serialize_entry()
435 callback((lxb_char_t *) ">\n", 2, ctx); in lexbor_bst_serialize_entry()
443 callback((lxb_char_t *) "NULL>", 5, ctx); in lexbor_bst_serialize_entry()
446 callback((lxb_char_t *) "</left>\n", 8, ctx); in lexbor_bst_serialize_entry()
450 callback((lxb_char_t *) "\t", 1, ctx); in lexbor_bst_serialize_entry()
452 callback((lxb_char_t *) "<right ", 7, ctx); in lexbor_bst_serialize_entry()
457 callback(buff, len, ctx); in lexbor_bst_serialize_entry()
459 callback((lxb_char_t *) ">\n", 2, ctx); in lexbor_bst_serialize_entry()
[all …]
H A Dbst.h94 lexbor_bst_serialize(lexbor_bst_t *bst, lexbor_callback_f callback, void *ctx);
98 lexbor_callback_f callback, void *ctx, size_t tabs);
H A Dfs.h46 lexbor_fs_dir_file_f callback, void *ctx);
H A Davl.c558 lexbor_avl_node_f callback, void *ctx) in lexbor_avl_foreach_recursion() argument
564 callback(avl, NULL, scope, ctx); in lexbor_avl_foreach_recursion()
566 lexbor_avl_foreach_recursion(avl, scope->left, callback, ctx); in lexbor_avl_foreach_recursion()
567 lexbor_avl_foreach_recursion(avl, scope->right, callback, ctx); in lexbor_avl_foreach_recursion()
/php-src/sapi/cli/tests/
H A D006.phpt116 Parameter #1 [ <required> callable $callback ]
/php-src/ext/standard/tests/array/
H A Darray_map_variation10.phpt2 Test array_map() function : usage variations - anonymous callback function
6 * Test array_map() by passing anonymous callback function with following variations
9 echo "*** Testing array_map() : anonymous callback function ***\n";
40 *** Testing array_map() : anonymous callback function ***
/php-src/ext/ffi/tests/
H A Dbug79177.phpt2 Bug #79177 (FFI doesn't handle well PHP exceptions within callback)
/php-src/Zend/tests/fibers/
H A Dstart-arguments.phpt2 Arguments to fiber callback
/php-src/Zend/tests/
H A Dbug72101.phpt6 protected $callback;
7 public function __construct($callback) {
8 $this->callback = $callback;
11 return call_user_func_array($this->callback, $invocation->parameters);
39 public function callback(&$a, &$b, $c) {
74 $OuterMatcher->stub = new PHPUnit_Framework_MockObject_Stub_ReturnCallback([$foo, 'callback']);
H A Dbug79657.phpt22 foreach ($callbacks as $callback) {
23 yield from $callback();
/php-src/ext/standard/
H A Dbasic_functions.stub.php1532 function header_register_callback(callable $callback): bool {} argument
1536 /** @param callable|null $callback */
1614 function usort(array &$array, callable $callback): true {} argument
1616 function uasort(array &$array, callable $callback): true {} argument
1618 function uksort(array &$array, callable $callback): true {} argument
1999 function call_user_func(callable $callback, mixed ...$args): mixed {} argument
2001 function call_user_func_array(callable $callback, array $args): mixed {} argument
2003 function forward_static_call(callable $callback, mixed ...$args): mixed {} argument
2005 function forward_static_call_array(callable $callback, array $args): mixed {} argument
2071 function register_tick_function(callable $callback, mixed ...$args): bool {} argument
[all …]
H A Dbasic_functions_arginfo.h9 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
13 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, callback, "null")
107 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
143 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
329 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
340 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 1)
449 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
454 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
463 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
553 ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
[all …]
H A Dvar_unserializer.re1238 /* Check for unserialize callback */
1245 /* Call unserialize callback */
1260 /* The callback function may have defined the class */
/php-src/tests/classes/
H A Dtype_hinting_004.phpt6 echo "---> Type hints with callback function:\n";
45 echo "\n\n---> Type hints with callback static method:\n";
94 echo "\n\n---> Type hints with callback instance method:\n";
151 ---> Type hints with callback function:
162 ---> Type hints with callback static method:
173 ---> Type hints with callback instance method:
/php-src/Zend/
H A Dzend_observer.c320 callback(op_array, name); in _zend_observer_function_declared_notify()
338 callback(ce, name); in _zend_observer_class_linked_notify()
352 callback(type, error_filename, error_lineno, message); in _zend_observer_error_notify()
374 zend_observer_fiber_init_handler callback; in zend_observer_fiber_init_notify() local
379 callback = *(zend_observer_fiber_init_handler *) element->data; in zend_observer_fiber_init_notify()
380 callback(initializing); in zend_observer_fiber_init_notify()
387 zend_observer_fiber_switch_handler callback; in zend_observer_fiber_switch_notify() local
394 callback = *(zend_observer_fiber_switch_handler *) element->data; in zend_observer_fiber_switch_notify()
395 callback(from, to); in zend_observer_fiber_switch_notify()
405 zend_observer_fiber_destroy_handler callback; in zend_observer_fiber_destroy_notify() local
[all …]
H A Dzend_observer.h108 ZEND_API void zend_observer_error_register(zend_observer_error_cb callback);
/php-src/Zend/Optimizer/
H A Dzend_func_info.c47 #define FC(name, callback) \ argument
48 {name, sizeof(name)-1, 0, callback}
/php-src/
H A Dphp.ini-development300 ; The unserialize callback function will be called (with the undefined class'
305 ; callback-function.
H A Dphp.ini-production300 ; The unserialize callback function will be called (with the undefined class'
305 ; callback-function.

Completed in 89 milliseconds

12345678910>>...13