Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 291) sorted by last modified time

12345678910>>...12

/php-src/
H A DUPGRADING166 . Failure to call a PHP function callback during evaluation now throws
/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/ext/pdo_sqlite/
H A Dsqlite_driver.c142 if (!Z_ISUNDEF(collation->callback)) { in pdo_sqlite_cleanup_callbacks()
143 zval_ptr_dtor(&collation->callback); in pdo_sqlite_cleanup_callbacks()
466 ZVAL_COPY_VALUE(&collation->fc.fci.function_name, &collation->callback); in php_sqlite3_collation_callback()
631 …ate_collation_internal(INTERNAL_FUNCTION_PARAMETERS, pdo_sqlite_create_collation_callback callback) in pdo_sqlite_create_collation_internal() argument
654 ret = sqlite3_create_collation(H->db, collation_name, SQLITE_UTF8, collation, callback); in pdo_sqlite_create_collation_internal()
658 ZVAL_COPY(&collation->callback, &fci.function_name); in pdo_sqlite_create_collation_internal()
717 zend_get_gc_buffer_add_zval(gc_buffer, &collation->callback); in pdo_sqlite_get_gc()
/php-src/ext/reflection/
H A Dphp_reflection.c3415 zend_function *mptr, *callback; in reflection_method_invoke() local
3467 callback = _copy_function(mptr); in reflection_method_invoke()
3468 …zend_call_known_function(callback, (object ? Z_OBJ_P(object) : NULL), intern->ce, &retval, argc, p… in reflection_method_invoke()
/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}

Completed in 98 milliseconds

12345678910>>...12