/PHP-7.3/ext/spl/ |
H A D | spl_engine.h | 56 zend_fcall_info fci; in spl_instantiate_arg_n() local 62 fci.size = sizeof(zend_fcall_info); in spl_instantiate_arg_n() 63 ZVAL_STR(&fci.function_name, func->common.function_name); in spl_instantiate_arg_n() 64 fci.object = Z_OBJ_P(retval); in spl_instantiate_arg_n() 65 fci.retval = &dummy; in spl_instantiate_arg_n() 66 fci.param_count = argc; in spl_instantiate_arg_n() 67 fci.params = argv; in spl_instantiate_arg_n() 68 fci.no_separation = 1; in spl_instantiate_arg_n() 74 zend_call_function(&fci, &fcc); in spl_instantiate_arg_n()
|
H A D | php_spl.c | 405 zend_fcall_info fci; in PHP_FUNCTION() local 413 fci.size = sizeof(fci); in PHP_FUNCTION() 414 fci.retval = &retval; in PHP_FUNCTION() 415 fci.param_count = 1; in PHP_FUNCTION() 416 fci.params = class_name; in PHP_FUNCTION() 417 fci.no_separation = 1; in PHP_FUNCTION() 419 ZVAL_UNDEF(&fci.function_name); /* Unused */ in PHP_FUNCTION() 433 fci.object = NULL; in PHP_FUNCTION() 443 fci.object = Z_OBJ(alfi->obj); in PHP_FUNCTION() 448 zend_call_function(&fci, &fcic); in PHP_FUNCTION()
|
/PHP-7.3/Zend/ |
H A D | zend_objects.c | 81 zend_fcall_info fci; in zend_objects_destroy_object() local 147 fci.size = sizeof(fci); in zend_objects_destroy_object() 148 fci.object = object; in zend_objects_destroy_object() 149 fci.retval = &ret; in zend_objects_destroy_object() 150 fci.param_count = 0; in zend_objects_destroy_object() 151 fci.params = NULL; in zend_objects_destroy_object() 240 zend_fcall_info fci; in zend_objects_clone_members() local 248 fci.size = sizeof(fci); in zend_objects_clone_members() 250 fci.retval = &ret; in zend_objects_clone_members() 251 fci.param_count = 0; in zend_objects_clone_members() [all …]
|
H A D | zend_closures.c | 113 zend_fcall_info fci; in ZEND_METHOD() local 118 fci.param_count = 0; in ZEND_METHOD() 119 fci.params = NULL; in ZEND_METHOD() 156 fci.size = sizeof(fci); in ZEND_METHOD() 158 fci.retval = &closure_result; in ZEND_METHOD() 159 fci.no_separation = 1; in ZEND_METHOD() 227 zend_fcall_info fci; in ZEND_NAMED_FUNCTION() local 235 fci.retval = return_value; in ZEND_NAMED_FUNCTION() 239 fci.params = params; in ZEND_NAMED_FUNCTION() 240 fci.param_count = 2; in ZEND_NAMED_FUNCTION() [all …]
|
H A D | zend_execute_API.c | 588 zend_fcall_info fci; in _call_user_function_ex() local 590 fci.size = sizeof(fci); in _call_user_function_ex() 593 fci.retval = retval_ptr; in _call_user_function_ex() 595 fci.params = params; in _call_user_function_ex() 609 ZVAL_UNDEF(fci->retval); in zend_call_function() 654 = zend_get_callable_name_ex(&fci->function_name, fci->object); in zend_call_function() 684 func, fci->param_count, fci_cache->called_scope, fci->object); in zend_call_function() 764 ZVAL_NULL(fci->retval); in zend_call_function() 787 ZVAL_NULL(fci->retval); in zend_call_function() 790 if (fci->object) { in zend_call_function() [all …]
|
H A D | zend_object_handlers.c | 199 fci.size = sizeof(fci); in zend_std_call_getter() 200 fci.object = zobj; in zend_std_call_getter() 236 fci.size = sizeof(fci); in zend_std_call_setter() 237 fci.object = zobj; in zend_std_call_setter() 238 fci.retval = &ret; in zend_std_call_setter() 240 fci.params = args; in zend_std_call_setter() 272 fci.size = sizeof(fci); in zend_std_call_unsetter() 273 fci.object = zobj; in zend_std_call_unsetter() 274 fci.retval = &ret; in zend_std_call_unsetter() 309 fci.size = sizeof(fci); in zend_std_call_issetter() [all …]
|
H A D | zend_interfaces.c | 36 zend_fcall_info fci; in zend_call_method() local 47 fci.size = sizeof(fci); in zend_call_method() 48 fci.object = object ? Z_OBJ_P(object) : NULL; in zend_call_method() 49 fci.retval = retval_ptr ? retval_ptr : &retval; in zend_call_method() 50 fci.param_count = param_count; in zend_call_method() 51 fci.params = params; in zend_call_method() 52 fci.no_separation = 1; in zend_call_method() 58 result = zend_call_function(&fci, NULL); in zend_call_method() 59 zval_ptr_dtor(&fci.function_name); in zend_call_method() 62 ZVAL_UNDEF(&fci.function_name); /* Unused */ in zend_call_method() [all …]
|
H A D | zend_API.c | 767 fci->size = 0; in zend_parse_arg_impl() 3510 fci->size = sizeof(*fci); in zend_fcall_info_init() 3513 fci->retval = NULL; in zend_fcall_info_init() 3514 fci->param_count = 0; in zend_fcall_info_init() 3515 fci->params = NULL; in zend_fcall_info_init() 3524 if (fci->params) { in zend_fcall_info_args_clear() 3533 efree(fci->params); in zend_fcall_info_args_clear() 3546 fci->params = NULL; in zend_fcall_info_args_save() 3574 fci->params = params = (zval *) erealloc(fci->params, fci->param_count * sizeof(zval)); in zend_fcall_info_args_ex() 3609 fci->params = (zval *) erealloc(fci->params, fci->param_count * sizeof(zval)); in zend_fcall_info_argp() [all …]
|
H A D | zend_exceptions.c | 674 zend_fcall_info fci; in ZEND_METHOD() local 691 fci.size = sizeof(fci); in ZEND_METHOD() 692 ZVAL_STR(&fci.function_name, fname); in ZEND_METHOD() 693 fci.object = Z_OBJ_P(exception); in ZEND_METHOD() 694 fci.retval = &trace; in ZEND_METHOD() 695 fci.param_count = 0; in ZEND_METHOD() 696 fci.params = NULL; in ZEND_METHOD() 697 fci.no_separation = 1; in ZEND_METHOD() 699 zend_call_function(&fci, NULL); in ZEND_METHOD()
|
/PHP-7.3/ext/dom/ |
H A D | xpath.c | 78 zend_fcall_info fci; in dom_xpath_ext_function_php() local 112 if (fci.param_count > 0) { in dom_xpath_ext_function_php() 113 fci.params = safe_emalloc(fci.param_count, sizeof(zval), 0); in dom_xpath_ext_function_php() 173 fci.size = sizeof(fci); in dom_xpath_ext_function_php() 179 if (fci.param_count > 0) { in dom_xpath_ext_function_php() 183 efree(fci.params); in dom_xpath_ext_function_php() 190 fci.object = NULL; in dom_xpath_ext_function_php() 191 fci.retval = &retval; in dom_xpath_ext_function_php() 192 fci.no_separation = 0; in dom_xpath_ext_function_php() 229 if (fci.param_count > 0) { in dom_xpath_ext_function_php() [all …]
|
/PHP-7.3/ext/libxml/ |
H A D | libxml.c | 285 if (fci->size > 0) { in _php_libxml_destroy_fci() 287 fci->size = 0; in _php_libxml_destroy_fci() 590 zend_fcall_info *fci; in _php_libxml_external_entity_loader() local 592 fci = &LIBXML(entity_loader).fci; in _php_libxml_external_entity_loader() 594 if (fci->size == 0) { in _php_libxml_external_entity_loader() 627 fci->retval = &retval; in _php_libxml_external_entity_loader() 628 fci->params = params; in _php_libxml_external_entity_loader() 630 fci->no_separation = 1; in _php_libxml_external_entity_loader() 1124 zend_fcall_info fci; in PHP_FUNCTION() local 1134 LIBXML(entity_loader).fci = fci; in PHP_FUNCTION() [all …]
|
/PHP-7.3/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 328 fc->fci.size = sizeof(fc->fci); in do_callback() 329 ZVAL_COPY_VALUE(&fc->fci.function_name, cb); in do_callback() 330 fc->fci.object = NULL; in do_callback() 331 fc->fci.retval = &retval; in do_callback() 332 fc->fci.param_count = fake_argc; in do_callback() 378 fc->fci.params = zargs; in do_callback() 477 collation->fc.fci.size = sizeof(collation->fc.fci); in php_sqlite3_collation_callback() 479 collation->fc.fci.object = NULL; in php_sqlite3_collation_callback() 480 collation->fc.fci.retval = &retval; in php_sqlite3_collation_callback() 485 collation->fc.fci.param_count = 2; in php_sqlite3_collation_callback() [all …]
|
H A D | php_pdo_sqlite_int.h | 32 zend_fcall_info fci; member
|
/PHP-7.3/ext/xsl/ |
H A D | xsltprocessor.c | 181 zend_fcall_info fci; in xsl_ext_function_php() local 225 if (fci.param_count > 0) { in xsl_ext_function_php() 296 fci.size = sizeof(fci); in xsl_ext_function_php() 297 if (fci.param_count > 0) { in xsl_ext_function_php() 298 fci.params = args; in xsl_ext_function_php() 300 fci.params = NULL; in xsl_ext_function_php() 309 if (fci.param_count > 0) { in xsl_ext_function_php() 321 fci.object = NULL; in xsl_ext_function_php() 322 fci.retval = &retval; in xsl_ext_function_php() 323 fci.no_separation = 0; in xsl_ext_function_php() [all …]
|
/PHP-7.3/ext/pdo/ |
H A D | pdo_stmt.c | 724 zend_fcall_info *fci = &stmt->fetch.cls.fci; in do_fetch_class_prepare() local 727 fci->size = sizeof(zend_fcall_info); in do_fetch_class_prepare() 735 ZVAL_UNDEF(&fci->function_name); in do_fetch_class_prepare() 737 fci->param_count = 0; in do_fetch_class_prepare() 738 fci->params = NULL; in do_fetch_class_prepare() 739 fci->no_separation = 1; in do_fetch_class_prepare() 782 zend_fcall_info *fci = &stmt->fetch.cls.fci; in do_fetch_func_prepare() local 797 if (stmt->fetch.cls.fci.size && stmt->fetch.cls.fci.params) { in do_fetch_opt_finish() 802 efree(stmt->fetch.cls.fci.params); in do_fetch_opt_finish() 804 stmt->fetch.cls.fci.params = NULL; in do_fetch_opt_finish() [all …]
|
H A D | pdo_dbh.c | 457 zend_fcall_info fci; in pdo_stmt_construct() local 461 fci.size = sizeof(zend_fcall_info); in pdo_stmt_construct() 462 ZVAL_UNDEF(&fci.function_name); in pdo_stmt_construct() 463 fci.object = Z_OBJ_P(object); in pdo_stmt_construct() 464 fci.retval = &retval; in pdo_stmt_construct() 465 fci.param_count = 0; in pdo_stmt_construct() 466 fci.params = NULL; in pdo_stmt_construct() 467 fci.no_separation = 1; in pdo_stmt_construct() 469 zend_fcall_info_args(&fci, ctor_args); in pdo_stmt_construct() 475 if (zend_call_function(&fci, &fcc) != FAILURE) { in pdo_stmt_construct() [all …]
|
/PHP-7.3/ext/sqlite3/ |
H A D | php_sqlite3_structs.h | 46 zend_fcall_info fci; member 67 struct php_sqlite3_fci fci; member
|
H A D | sqlite3.c | 715 fc->fci.size = sizeof(fc->fci); in sqlite3_do_callback() 717 fc->fci.object = NULL; in sqlite3_do_callback() 718 fc->fci.retval = &retval; in sqlite3_do_callback() 764 fc->fci.params = zargs; in sqlite3_do_callback() 872 collation->fci.fci.size = (sizeof(collation->fci.fci)); in php_sqlite3_callback_compare() 873 ZVAL_COPY_VALUE(&collation->fci.fci.function_name, &collation->cmp_func); in php_sqlite3_callback_compare() 874 collation->fci.fci.object = NULL; in php_sqlite3_callback_compare() 875 collation->fci.fci.retval = &retval; in php_sqlite3_callback_compare() 876 collation->fci.fci.param_count = 2; in php_sqlite3_callback_compare() 881 collation->fci.fci.params = zargs; in php_sqlite3_callback_compare() [all …]
|
/PHP-7.3/ext/curl/ |
H A D | interface.c | 1564 fci.size = sizeof(fci); in curl_write() 1565 fci.object = NULL; in curl_write() 1569 fci.params = argv; in curl_write() 1613 fci.size = sizeof(fci); in curl_fnmatch() 1615 fci.object = NULL; in curl_fnmatch() 1618 fci.params = argv; in curl_fnmatch() 1668 fci.size = sizeof(fci); in curl_progress() 1670 fci.object = NULL; in curl_progress() 1673 fci.params = argv; in curl_progress() 1725 fci.size = sizeof(fci); in curl_read() [all …]
|
H A D | multi.c | 497 zend_fcall_info fci = empty_fcall_info; in _php_server_push_callback() local 523 zend_fcall_info_init(&t->func_name, 0, &fci, &t->fci_cache, NULL, NULL); in _php_server_push_callback() 526 &fci, 3, in _php_server_push_callback() 532 fci.retval = &retval; in _php_server_push_callback() 534 error = zend_call_function(&fci, &t->fci_cache); in _php_server_push_callback() 535 zend_fcall_info_args_clear(&fci, 1); in _php_server_push_callback()
|
/PHP-7.3/ext/intl/uchar/ |
H A D | uchar.c | 184 zend_fcall_info fci; member 201 context->fci.retval = &retval; in enumCharType_callback() 202 context->fci.param_count = 3; in enumCharType_callback() 203 context->fci.params = args; in enumCharType_callback() 205 if (zend_call_function(&context->fci, &context->fci_cache) == FAILURE) { in enumCharType_callback() 217 if (zend_parse_parameters(ZEND_NUM_ARGS(), "f", &context.fci, &context.fci_cache) == FAILURE) { in IC_METHOD() 301 zend_fcall_info fci; member 315 context->fci.retval = &retval; in enumCharNames_callback() 316 context->fci.param_count = 3; in enumCharNames_callback() 317 context->fci.params = args; in enumCharNames_callback() [all …]
|
/PHP-7.3/ext/pcre/ |
H A D | php_pcre.c | 1515 fci->retval = &retval; in preg_do_repl_func() 1516 fci->param_count = 1; in preg_do_repl_func() 1517 fci->params = &arg; in preg_do_repl_func() 2165 fci, fcc, in php_replace_in_subject_func() 2185 fci, fcc, in php_replace_in_subject_func() 2351 zend_fcall_info fci; in PHP_FUNCTION() local 2372 fci.size = sizeof(fci); in PHP_FUNCTION() 2373 fci.object = NULL; in PHP_FUNCTION() 2392 zend_fcall_info fci; in PHP_FUNCTION() local 2404 fci.size = sizeof(fci); in PHP_FUNCTION() [all …]
|
/PHP-7.3/ext/reflection/ |
H A D | php_reflection.c | 1305 zend_fcall_info fci; in _reflection_export() local 1329 fci.size = sizeof(fci); in _reflection_export() 1334 fci.params = params; in _reflection_export() 1359 fci.object = NULL; in _reflection_export() 1853 fci.size = sizeof(fci); in ZEND_METHOD() 1855 fci.object = NULL; in ZEND_METHOD() 1916 fci.size = sizeof(fci); in ZEND_METHOD() 1918 fci.object = NULL; in ZEND_METHOD() 3167 fci.size = sizeof(fci); in reflection_method_invoke() 4708 fci.size = sizeof(fci); in ZEND_METHOD() [all …]
|
/PHP-7.3/ext/mysqli/ |
H A D | mysqli.c | 1263 zend_fcall_info fci; in php_mysqli_fetch_into_hash() local 1277 fci.size = sizeof(fci); in php_mysqli_fetch_into_hash() 1278 ZVAL_UNDEF(&fci.function_name); in php_mysqli_fetch_into_hash() 1279 fci.object = Z_OBJ_P(return_value); in php_mysqli_fetch_into_hash() 1280 fci.retval = &retval; in php_mysqli_fetch_into_hash() 1281 fci.params = NULL; in php_mysqli_fetch_into_hash() 1282 fci.param_count = 0; in php_mysqli_fetch_into_hash() 1283 fci.no_separation = 1; in php_mysqli_fetch_into_hash() 1286 if (zend_fcall_info_args(&fci, ctor_params) == FAILURE) { in php_mysqli_fetch_into_hash() 1302 if (zend_call_function(&fci, &fcc) == FAILURE) { in php_mysqli_fetch_into_hash() [all …]
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | bug28739.phpt | 2 Bug #28739 (*diff() and *intersect() not clearing the fci cache before work)
|