/PHP-7.1/ext/spl/ |
H A D | spl_engine.h | 58 zend_fcall_info fci; in spl_instantiate_arg_n() local 64 fci.size = sizeof(zend_fcall_info); in spl_instantiate_arg_n() 65 ZVAL_STR(&fci.function_name, func->common.function_name); in spl_instantiate_arg_n() 66 fci.object = Z_OBJ_P(retval); in spl_instantiate_arg_n() 67 fci.retval = &dummy; in spl_instantiate_arg_n() 68 fci.param_count = argc; in spl_instantiate_arg_n() 69 fci.params = argv; in spl_instantiate_arg_n() 70 fci.no_separation = 1; in spl_instantiate_arg_n() 78 zend_call_function(&fci, &fcc); in spl_instantiate_arg_n()
|
/PHP-7.1/ext/dom/ |
H A D | xpath.c | 80 zend_fcall_info fci; in dom_xpath_ext_function_php() local 114 if (fci.param_count > 0) { in dom_xpath_ext_function_php() 115 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() 230 if (fci.param_count > 0) { in dom_xpath_ext_function_php() [all …]
|
/PHP-7.1/ext/libxml/ |
H A D | libxml.c | 287 if (fci->size > 0) { in _php_libxml_destroy_fci() 289 fci->size = 0; in _php_libxml_destroy_fci() 582 zend_fcall_info *fci; in _php_libxml_external_entity_loader() local 584 fci = &LIBXML(entity_loader).fci; in _php_libxml_external_entity_loader() 586 if (fci->size == 0) { in _php_libxml_external_entity_loader() 619 fci->retval = &retval; in _php_libxml_external_entity_loader() 620 fci->params = params; in _php_libxml_external_entity_loader() 622 fci->no_separation = 1; in _php_libxml_external_entity_loader() 1113 zend_fcall_info fci; in PHP_FUNCTION() local 1123 LIBXML(entity_loader).fci = fci; in PHP_FUNCTION() [all …]
|
H A D | php_libxml.h | 51 zend_fcall_info fci; member
|
/PHP-7.1/Zend/ |
H A D | zend_execute_API.c | 662 zend_fcall_info fci; in _call_user_function_ex() local 664 fci.size = sizeof(fci); in _call_user_function_ex() 667 fci.retval = retval_ptr; in _call_user_function_ex() 669 fci.params = params; in _call_user_function_ex() 683 ZVAL_UNDEF(fci->retval); in zend_call_function() 693 switch (fci->size) { in zend_call_function() 769 func, fci->param_count, fci_cache->called_scope, fci->object); in zend_call_function() 770 if (fci->object && in zend_call_function() 863 ZVAL_NULL(fci->retval); in zend_call_function() 895 if (fci->object) { in zend_call_function() [all …]
|
H A D | zend_closures.c | 118 zend_fcall_info fci; in ZEND_METHOD() local 143 fci.retval = &closure_result; in ZEND_METHOD() 144 fci.params = my_params; in ZEND_METHOD() 233 zend_fcall_info fci; in zend_closure_call_magic() local 241 fci.retval = return_value; in zend_closure_call_magic() 245 fci.params = params; in zend_closure_call_magic() 246 fci.param_count = 2; in zend_closure_call_magic() 248 array_init(&fci.params[1]); in zend_closure_call_magic() 251 fci.object = Z_OBJ(EX(This)); in zend_closure_call_magic() 257 zval_ptr_dtor(&fci.params[0]); in zend_closure_call_magic() [all …]
|
H A D | zend_interfaces.c | 37 zend_fcall_info fci; in zend_call_method() local 48 fci.size = sizeof(fci); in zend_call_method() 49 fci.object = object ? Z_OBJ_P(object) : NULL; in zend_call_method() 50 fci.retval = retval_ptr ? retval_ptr : &retval; in zend_call_method() 51 fci.param_count = param_count; in zend_call_method() 52 fci.params = params; in zend_call_method() 53 fci.no_separation = 1; in zend_call_method() 59 result = zend_call_function(&fci, NULL); in zend_call_method() 60 zval_ptr_dtor(&fci.function_name); in zend_call_method() 63 ZVAL_UNDEF(&fci.function_name); /* Unused */ in zend_call_method() [all …]
|
H A D | zend_API.c | 701 fci->size = 0; in zend_parse_arg_impl() 3427 fci->size = sizeof(*fci); in zend_fcall_info_init() 3430 fci->retval = NULL; in zend_fcall_info_init() 3431 fci->param_count = 0; in zend_fcall_info_init() 3432 fci->params = NULL; in zend_fcall_info_init() 3441 if (fci->params) { in zend_fcall_info_args_clear() 3450 efree(fci->params); in zend_fcall_info_args_clear() 3463 fci->params = NULL; in zend_fcall_info_args_save() 3491 fci->params = params = (zval *) erealloc(fci->params, fci->param_count * sizeof(zval)); in zend_fcall_info_args_ex() 3528 fci->params = (zval *) erealloc(fci->params, fci->param_count * sizeof(zval)); in zend_fcall_info_argp() [all …]
|
H A D | zend_exceptions.c | 685 zend_fcall_info fci; in ZEND_METHOD() local 702 fci.size = sizeof(fci); in ZEND_METHOD() 703 ZVAL_STR(&fci.function_name, fname); in ZEND_METHOD() 704 fci.object = Z_OBJ_P(exception); in ZEND_METHOD() 705 fci.retval = &trace; in ZEND_METHOD() 706 fci.param_count = 0; in ZEND_METHOD() 707 fci.params = NULL; in ZEND_METHOD() 708 fci.no_separation = 1; in ZEND_METHOD() 710 zend_call_function(&fci, NULL); in ZEND_METHOD()
|
/PHP-7.1/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 327 fc->fci.size = sizeof(fc->fci); in do_callback() 328 ZVAL_COPY_VALUE(&fc->fci.function_name, cb); in do_callback() 329 fc->fci.object = NULL; in do_callback() 330 fc->fci.retval = &retval; in do_callback() 331 fc->fci.param_count = fake_argc; in do_callback() 377 fc->fci.params = zargs; in do_callback() 476 collation->fc.fci.size = sizeof(collation->fc.fci); in php_sqlite3_collation_callback() 478 collation->fc.fci.object = NULL; in php_sqlite3_collation_callback() 479 collation->fc.fci.retval = &retval; in php_sqlite3_collation_callback() 484 collation->fc.fci.param_count = 2; in php_sqlite3_collation_callback() [all …]
|
H A D | php_pdo_sqlite_int.h | 34 zend_fcall_info fci; member
|
/PHP-7.1/ext/xsl/ |
H A D | xsltprocessor.c | 183 zend_fcall_info fci; in xsl_ext_function_php() local 227 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.1/ext/pdo/ |
H A D | pdo_stmt.c | 726 zend_fcall_info *fci = &stmt->fetch.cls.fci; in do_fetch_class_prepare() local 729 fci->size = sizeof(zend_fcall_info); in do_fetch_class_prepare() 737 ZVAL_UNDEF(&fci->function_name); in do_fetch_class_prepare() 739 fci->param_count = 0; in do_fetch_class_prepare() 740 fci->params = NULL; in do_fetch_class_prepare() 741 fci->no_separation = 1; in do_fetch_class_prepare() 786 zend_fcall_info *fci = &stmt->fetch.cls.fci; in do_fetch_func_prepare() local 801 if (stmt->fetch.cls.fci.size && stmt->fetch.cls.fci.params) { in do_fetch_opt_finish() 806 efree(stmt->fetch.cls.fci.params); in do_fetch_opt_finish() 808 stmt->fetch.cls.fci.params = NULL; in do_fetch_opt_finish() [all …]
|
H A D | pdo_dbh.c | 436 zend_fcall_info fci; in pdo_stmt_construct() local 440 fci.size = sizeof(zend_fcall_info); in pdo_stmt_construct() 441 ZVAL_UNDEF(&fci.function_name); in pdo_stmt_construct() 442 fci.object = Z_OBJ_P(object); in pdo_stmt_construct() 443 fci.retval = &retval; in pdo_stmt_construct() 444 fci.param_count = 0; in pdo_stmt_construct() 445 fci.params = NULL; in pdo_stmt_construct() 446 fci.no_separation = 1; in pdo_stmt_construct() 448 zend_fcall_info_args(&fci, ctor_args); in pdo_stmt_construct() 456 if (zend_call_function(&fci, &fcc) != FAILURE) { in pdo_stmt_construct() [all …]
|
/PHP-7.1/ext/curl/ |
H A D | interface.c | 1483 fci.size = sizeof(fci); in curl_write() 1484 fci.object = NULL; in curl_write() 1488 fci.params = argv; in curl_write() 1532 fci.size = sizeof(fci); in curl_fnmatch() 1534 fci.object = NULL; in curl_fnmatch() 1537 fci.params = argv; in curl_fnmatch() 1587 fci.size = sizeof(fci); in curl_progress() 1589 fci.object = NULL; in curl_progress() 1592 fci.params = argv; in curl_progress() 1648 fci.size = sizeof(fci); in curl_read() [all …]
|
H A D | multi.c | 489 zend_fcall_info fci = empty_fcall_info; in _php_server_push_callback() local 514 zend_fcall_info_init(&t->func_name, 0, &fci, &t->fci_cache, NULL, NULL); in _php_server_push_callback() 517 &fci, 3, in _php_server_push_callback() 523 fci.retval = &retval; in _php_server_push_callback() 525 error = zend_call_function(&fci, &t->fci_cache); in _php_server_push_callback() 526 zend_fcall_info_args_clear(&fci, 1); in _php_server_push_callback()
|
/PHP-7.1/ext/intl/uchar/ |
H A D | uchar.c | 181 zend_fcall_info fci; member 198 context->fci.retval = &retval; in enumCharType_callback() 199 context->fci.param_count = 3; in enumCharType_callback() 200 context->fci.params = args; in enumCharType_callback() 202 if (zend_call_function(&context->fci, &context->fci_cache) == FAILURE) { in enumCharType_callback() 214 if (zend_parse_parameters(ZEND_NUM_ARGS(), "f", &context.fci, &context.fci_cache) == FAILURE) { in IC_METHOD() 298 zend_fcall_info fci; member 312 context->fci.retval = &retval; in enumCharNames_callback() 313 context->fci.param_count = 3; in enumCharNames_callback() 314 context->fci.params = args; in enumCharNames_callback() [all …]
|
/PHP-7.1/ext/sqlite3/ |
H A D | php_sqlite3_structs.h | 48 zend_fcall_info fci; member 69 struct php_sqlite3_fci fci; member
|
H A D | sqlite3.c | 711 fc->fci.size = sizeof(fc->fci); in sqlite3_do_callback() 713 fc->fci.object = NULL; in sqlite3_do_callback() 714 fc->fci.retval = &retval; in sqlite3_do_callback() 760 fc->fci.params = zargs; in sqlite3_do_callback() 868 collation->fci.fci.size = (sizeof(collation->fci.fci)); in php_sqlite3_callback_compare() 869 ZVAL_COPY_VALUE(&collation->fci.fci.function_name, &collation->cmp_func); in php_sqlite3_callback_compare() 870 collation->fci.fci.object = NULL; in php_sqlite3_callback_compare() 871 collation->fci.fci.retval = &retval; in php_sqlite3_callback_compare() 872 collation->fci.fci.param_count = 2; in php_sqlite3_callback_compare() 878 collation->fci.fci.params = zargs; in php_sqlite3_callback_compare() [all …]
|
/PHP-7.1/ext/reflection/ |
H A D | php_reflection.c | 1440 zend_fcall_info fci; in _reflection_export() local 1464 fci.size = sizeof(fci); in _reflection_export() 1469 fci.params = params; in _reflection_export() 1496 fci.object = NULL; in _reflection_export() 1990 fci.size = sizeof(fci); in ZEND_METHOD() 1992 fci.object = NULL; in ZEND_METHOD() 2051 fci.size = sizeof(fci); in ZEND_METHOD() 2053 fci.object = NULL; in ZEND_METHOD() 3321 fci.size = sizeof(fci); in reflection_method_invoke() 4880 fci.size = sizeof(fci); in ZEND_METHOD() [all …]
|
/PHP-7.1/ext/mysqli/ |
H A D | mysqli.c | 1277 zend_fcall_info fci; in php_mysqli_fetch_into_hash() local 1291 fci.size = sizeof(fci); in php_mysqli_fetch_into_hash() 1292 ZVAL_UNDEF(&fci.function_name); in php_mysqli_fetch_into_hash() 1293 fci.object = Z_OBJ_P(return_value); in php_mysqli_fetch_into_hash() 1294 fci.retval = &retval; in php_mysqli_fetch_into_hash() 1295 fci.params = NULL; in php_mysqli_fetch_into_hash() 1296 fci.param_count = 0; in php_mysqli_fetch_into_hash() 1297 fci.no_separation = 1; in php_mysqli_fetch_into_hash() 1300 if (zend_fcall_info_args(&fci, ctor_params) == FAILURE) { in php_mysqli_fetch_into_hash() 1318 if (zend_call_function(&fci, &fcc) == FAILURE) { in php_mysqli_fetch_into_hash() [all …]
|
/PHP-7.1/ext/standard/tests/array/ |
H A D | bug28739.phpt | 2 Bug #28739 (*diff() and *intersect() not clearing the fci cache before work)
|
/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_prompt.c | 121 zend_fcall_info fci; in phpdbg_call_register() local 123 memset(&fci, 0, sizeof(zend_fcall_info)); in phpdbg_call_register() 126 fci.size = sizeof(zend_fcall_info); in phpdbg_call_register() 128 fci.object = NULL; in phpdbg_call_register() 129 fci.retval = &fretval; in phpdbg_call_register() 130 fci.no_separation = 1; in phpdbg_call_register() 185 zend_fcall_info_args(&fci, ¶ms); in phpdbg_call_register() 187 fci.params = NULL; in phpdbg_call_register() 188 fci.param_count = 0; in phpdbg_call_register() 196 if (zend_call_function(&fci, NULL) == SUCCESS) { in phpdbg_call_register() [all …]
|
/PHP-7.1/main/streams/ |
H A D | userspace.c | 302 zend_fcall_info fci; in user_stream_create_object() local 306 fci.size = sizeof(fci); in user_stream_create_object() 307 ZVAL_UNDEF(&fci.function_name); in user_stream_create_object() 308 fci.object = Z_OBJ_P(object); in user_stream_create_object() 309 fci.retval = &retval; in user_stream_create_object() 310 fci.param_count = 0; in user_stream_create_object() 311 fci.params = NULL; in user_stream_create_object() 312 fci.no_separation = 1; in user_stream_create_object() 320 if (zend_call_function(&fci, &fcc) == FAILURE) { in user_stream_create_object()
|
/PHP-7.1/ext/xml/ |
H A D | xml.c | 487 zend_fcall_info fci; in xml_call_handler() local 489 fci.size = sizeof(fci); in xml_call_handler() 490 ZVAL_COPY_VALUE(&fci.function_name, handler); in xml_call_handler() 491 fci.object = Z_OBJ(parser->object); in xml_call_handler() 492 fci.retval = retval; in xml_call_handler() 493 fci.param_count = argc; in xml_call_handler() 494 fci.params = argv; in xml_call_handler() 495 fci.no_separation = 0; in xml_call_handler() 498 result = zend_call_function(&fci, NULL); in xml_call_handler()
|