/php-src/ext/zend_test/ |
H A D | fiber.c | 103 fiber->fci.retval = &retval; in zend_test_fiber_execute() 108 zval_ptr_dtor(&fiber->fci.function_name); in zend_test_fiber_execute() 139 fiber->target->fci.param_count = 1; in zend_test_fiber_execute() 239 Z_TRY_ADDREF(fiber->fci.function_name); in ZEND_METHOD() 260 fiber->fci.params = params; in ZEND_METHOD() 261 fiber->fci.param_count = param_count; in ZEND_METHOD() 262 fiber->fci.named_params = named_params; in ZEND_METHOD() 322 zend_fcall_info fci; in ZEND_METHOD() local 326 Z_PARAM_FUNC(fci, fci_cache) in ZEND_METHOD() 332 target->fci = fci; in ZEND_METHOD() [all …]
|
H A D | fiber.h | 31 zend_fcall_info fci; member
|
/php-src/win32/ |
H A D | signal.c | 90 zend_fcall_info fci; in PHP_FUNCTION() local 96 if (zend_parse_parameters(ZEND_NUM_ARGS(), "f!|b", &fci, &fcc, &add) == FAILURE) { in PHP_FUNCTION() 112 if (!ZEND_FCI_INITIALIZED(fci)) { in PHP_FUNCTION() 122 zend_string *func_name = zend_get_callable_name(&fci.function_name); in PHP_FUNCTION() 129 ZVAL_COPY(&ctrl_handler, &fci.function_name); in PHP_FUNCTION()
|
/php-src/Zend/ |
H A D | zend_execute_API.c | 780 zend_fcall_info fci; in _call_user_function_impl() local 782 fci.size = sizeof(fci); in _call_user_function_impl() 787 fci.object = NULL; in _call_user_function_impl() 792 fci.params = params; in _call_user_function_impl() 834 = zend_get_callable_name_ex(&fci->function_name, fci->object); in zend_call_function() 1025 ? Z_ISREF_P(fci->retval) : !Z_ISREF_P(fci->retval)); in zend_call_function() 1076 zend_fcall_info fci; in zend_call_known_function() local 1081 fci.size = sizeof(fci); in zend_call_known_function() 1082 fci.object = object; in zend_call_known_function() 1085 fci.params = params; in zend_call_known_function() [all …]
|
H A D | zend_closures.c | 127 zend_fcall_info fci; in ZEND_METHOD() local 132 fci.param_count = 0; in ZEND_METHOD() 133 fci.params = NULL; in ZEND_METHOD() 137 Z_PARAM_VARIADIC_WITH_NAMED(fci.params, fci.param_count, fci.named_params) in ZEND_METHOD() 152 fci.size = sizeof(fci); in ZEND_METHOD() 155 fci.retval = &closure_result; in ZEND_METHOD() 286 zend_fcall_info fci; in ZEND_NAMED_FUNCTION() local 294 fci.retval = return_value; in ZEND_NAMED_FUNCTION() 298 fci.named_params = NULL; in ZEND_NAMED_FUNCTION() 299 fci.params = params; in ZEND_NAMED_FUNCTION() [all …]
|
H A D | zend_fibers.c | 602 fiber->fci.retval = &fiber->result; in zend_fiber_execute() 604 zend_call_function(&fiber->fci, &fiber->fci_cache); in zend_fiber_execute() 607 zval_ptr_dtor(&fiber->fci.function_name); in zend_fiber_execute() 608 ZVAL_UNDEF(&fiber->fci.function_name); in zend_fiber_execute() 807 zval_ptr_dtor(&fiber->fci.function_name); in zend_fiber_object_free() 818 zend_get_gc_buffer_add_zval(buf, &fiber->fci.function_name); in zend_fiber_object_gc() 869 zend_fcall_info fci; in ZEND_METHOD() local 873 Z_PARAM_FUNC(fci, fcc) in ZEND_METHOD() 883 fiber->fci = fci; in ZEND_METHOD() 887 Z_TRY_ADDREF(fiber->fci.function_name); in ZEND_METHOD() [all …]
|
H A D | zend_API.c | 1043 fci->size = 0; in zend_parse_arg_impl() 4308 fci->size = sizeof(*fci); in zend_fcall_info_init() 4311 fci->retval = NULL; in zend_fcall_info_init() 4312 fci->param_count = 0; in zend_fcall_info_init() 4313 fci->params = NULL; in zend_fcall_info_init() 4322 if (fci->params) { in zend_fcall_info_args_clear() 4331 efree(fci->params); in zend_fcall_info_args_clear() 4344 fci->params = NULL; in zend_fcall_info_args_save() 4372 fci->params = params = (zval *) erealloc(fci->params, fci->param_count * sizeof(zval)); in zend_fcall_info_args_ex() 4401 fci->params = (zval *) erealloc(fci->params, fci->param_count * sizeof(zval)); in zend_fcall_info_argp() [all …]
|
H A D | zend_exceptions.c | 655 zend_fcall_info fci; in ZEND_METHOD() local 672 fci.size = sizeof(fci); in ZEND_METHOD() 673 ZVAL_STR(&fci.function_name, fname); in ZEND_METHOD() 674 fci.object = Z_OBJ_P(exception); in ZEND_METHOD() 675 fci.retval = &trace; in ZEND_METHOD() 676 fci.param_count = 0; in ZEND_METHOD() 677 fci.params = NULL; in ZEND_METHOD() 678 fci.named_params = NULL; in ZEND_METHOD() 680 zend_call_function(&fci, NULL); in ZEND_METHOD()
|
H A D | zend_fibers.h | 119 zend_fcall_info fci; member
|
/php-src/ext/standard/ |
H A D | basic_functions.c | 125 zend_fcall_info fci; member 1467 zend_fcall_info fci; local 1472 Z_PARAM_VARIADIC_WITH_NAMED(fci.params, fci.param_count, fci.named_params) 1475 fci.retval = &retval; 1492 zend_fcall_info fci; local 1501 fci.retval = &retval; 1516 zend_fcall_info fci; local 1522 Z_PARAM_VARIADIC('*', fci.params, fci.param_count) 1530 fci.retval = &retval; 1552 zend_fcall_info fci; local [all …]
|
H A D | array.c | 1451 zend_fcall_info fci; member 1468 zend_fcall_info fci = context->fci; in php_array_walk() local 1480 fci.retval = &retval; in php_array_walk() 1482 fci.params = args; in php_array_walk() 6443 zend_fcall_info fci; local 6472 fci.param_count = 2; 6477 fci.params = args; 6548 fci.params = args; 6607 fci.param_count = 2; 6608 fci.params = args; [all …]
|
H A D | basic_functions.h | 126 zend_fcall_info fci; member
|
H A D | var_unserializer.re | 259 zend_fcall_info fci; 264 fci.size = sizeof(fci); 265 fci.object = Z_OBJ_P(zv); 266 fci.retval = &retval; 267 fci.param_count = 0; 268 fci.params = NULL; 269 fci.named_params = NULL; 270 ZVAL_UNDEF(&fci.function_name); 273 &fci.object->ce->function_table, ZSTR_KNOWN(ZEND_STR_WAKEUP)); 274 fci_cache.object = fci.object; [all …]
|
/php-src/ext/intl/uchar/ |
H A D | uchar.c | 162 zend_fcall_info fci; member 178 context->fci.retval = &retval; in enumCharType_callback() 179 context->fci.param_count = 3; in enumCharType_callback() 180 context->fci.params = args; in enumCharType_callback() 182 if (zend_call_function(&context->fci, &context->fci_cache) == FAILURE) { in enumCharType_callback() 195 Z_PARAM_FUNC(context.fci, context.fci_cache) in IC_METHOD() 267 zend_fcall_info fci; member 281 context->fci.retval = &retval; in enumCharNames_callback() 282 context->fci.param_count = 3; in enumCharNames_callback() 283 context->fci.params = args; in enumCharNames_callback() [all …]
|
/php-src/ext/dom/ |
H A D | xpath_callbacks.c | 401 zend_fcall_info fci; in php_dom_xpath_callback_dispatch() local 402 fci.size = sizeof(fci); in php_dom_xpath_callback_dispatch() 403 fci.object = NULL; in php_dom_xpath_callback_dispatch() 404 fci.retval = &callback_retval; in php_dom_xpath_callback_dispatch() 405 fci.param_count = param_count; in php_dom_xpath_callback_dispatch() 406 fci.params = params; in php_dom_xpath_callback_dispatch() 407 fci.named_params = NULL; in php_dom_xpath_callback_dispatch() 408 ZVAL_STRINGL(&fci.function_name, function_name, function_name_length); in php_dom_xpath_callback_dispatch() 410 zend_call_function(&fci, NULL); in php_dom_xpath_callback_dispatch() 411 zend_string_release_ex(Z_STR(fci.function_name), false); in php_dom_xpath_callback_dispatch()
|
/php-src/ext/pdo/ |
H A D | pdo_stmt.c | 616 zend_fcall_info *fci = &stmt->fetch.cls.fci; in do_fetch_class_prepare() local 619 fci->size = sizeof(zend_fcall_info); in do_fetch_class_prepare() 627 ZVAL_UNDEF(&fci->function_name); in do_fetch_class_prepare() 629 fci->param_count = 0; in do_fetch_class_prepare() 630 fci->params = NULL; in do_fetch_class_prepare() 673 zend_fcall_info *fci = &stmt->fetch.cls.fci; in do_fetch_func_prepare() local 688 if (stmt->fetch.cls.fci.size && stmt->fetch.cls.fci.params) { in do_fetch_opt_finish() 695 stmt->fetch.cls.fci.params = NULL; in do_fetch_opt_finish() 698 stmt->fetch.cls.fci.size = 0; in do_fetch_opt_finish() 836 if (!stmt->fetch.cls.fci.size) { in do_fetch() [all …]
|
/php-src/sapi/embed/ |
H A D | README.md | 70 zend_fcall_info fci = {0}; 74 ZVAL_STR(&fci.function_name, func_name); 76 fci.size = sizeof fci; 77 fci.retval = &retval; 79 if (zend_call_function(&fci, &fci_cache) == SUCCESS) {
|
/php-src/ext/spl/ |
H A D | php_spl.c | 382 zend_fcall_info *fci, zend_fcall_info_cache *fcc) { in autoload_func_info_from_fci() argument 390 if (Z_TYPE(fci->function_name) == IS_OBJECT) { in autoload_func_info_from_fci() 391 alfi->closure = Z_OBJ(fci->function_name); in autoload_func_info_from_fci() 504 zend_fcall_info fci = {0}; in PHP_FUNCTION() local 510 Z_PARAM_FUNC_OR_NULL(fci, fcc) in PHP_FUNCTION() 528 if (ZEND_FCI_INITIALIZED(fci)) { in PHP_FUNCTION() 542 alfi = autoload_func_info_from_fci(&fci, &fcc); in PHP_FUNCTION() 576 zend_fcall_info fci; in PHP_FUNCTION() local 580 Z_PARAM_FUNC(fci, fcc) in PHP_FUNCTION() 596 zend_is_callable_ex(&fci.function_name, NULL, 0, NULL, &fcc, NULL); in PHP_FUNCTION() [all …]
|
/php-src/Zend/tests/ |
H A D | register_shutdown_function_refcount.phpt | 2 register_shutdown_function() and long-term fci storage
|
/php-src/ext/readline/ |
H A D | readline.c | 491 zend_fcall_info fci; in PHP_FUNCTION() local 494 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "f", &fci, &fcc)) { in PHP_FUNCTION() 499 ZVAL_COPY(&_readline_completion, &fci.function_name); in PHP_FUNCTION() 532 zend_fcall_info fci; in PHP_FUNCTION() local 536 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "sf", &prompt, &prompt_len, &fci, &fcc)) { in PHP_FUNCTION() 545 ZVAL_COPY(&_prepped_callback, &fci.function_name); in PHP_FUNCTION()
|
/php-src/ext/pdo_pgsql/ |
H A D | pdo_pgsql.c | 151 zend_fcall_info fci = empty_fcall_info; in PHP_METHOD() local 153 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "F!", &fci, &fcc)) { in PHP_METHOD()
|
/php-src/ext/pcre/ |
H A D | php_pcre.c | 1557 fci->retval = &retval; in preg_do_repl_func() 1558 fci->param_count = 1; in preg_do_repl_func() 1559 fci->params = &arg; in preg_do_repl_func() 2403 zend_fcall_info fci; in PHP_FUNCTION() local 2409 Z_PARAM_FUNC(fci, fcc) in PHP_FUNCTION() 2418 &fci, &fcc, in PHP_FUNCTION() 2434 zend_fcall_info fci; in PHP_FUNCTION() local 2447 fci.size = sizeof(fci); in PHP_FUNCTION() 2448 fci.object = NULL; in PHP_FUNCTION() 2449 fci.named_params = NULL; in PHP_FUNCTION() [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | bug28739.phpt | 2 Bug #28739 (*diff() and *intersect() not clearing the fci cache before work)
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_prompt.c | 111 zend_fcall_info fci; in phpdbg_call_register() local 113 memset(&fci, 0, sizeof(zend_fcall_info)); in phpdbg_call_register() 116 fci.size = sizeof(zend_fcall_info); in phpdbg_call_register() 117 fci.object = NULL; in phpdbg_call_register() 118 fci.retval = &fretval; in phpdbg_call_register() 119 fci.param_count = 0; in phpdbg_call_register() 120 fci.params = NULL; in phpdbg_call_register() 121 fci.named_params = NULL; in phpdbg_call_register() 176 fci.named_params = Z_ARRVAL(params); in phpdbg_call_register() 184 if (zend_call_function(&fci, NULL) == SUCCESS) { in phpdbg_call_register() [all …]
|
/php-src/main/ |
H A D | SAPI.c | 113 zend_fcall_info fci; in PHP_FUNCTION() local 116 if (zend_parse_parameters(ZEND_NUM_ARGS(), "f", &fci, &fcc) == FAILURE) { in PHP_FUNCTION() 128 ZVAL_COPY(&SG(callback_func), &fci.function_name); in PHP_FUNCTION() 138 zend_fcall_info fci; in sapi_run_header_callback() local 142 if (zend_fcall_info_init(callback, 0, &fci, &SG(fci_cache), NULL, &callback_error) == SUCCESS) { in sapi_run_header_callback() 143 fci.retval = &retval; in sapi_run_header_callback() 145 error = zend_call_function(&fci, &SG(fci_cache)); in sapi_run_header_callback()
|