/PHP-7.3/Zend/ |
H A D | zend_interfaces.h | 40 …t_pp, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t functi… 42 #define zend_call_method_with_0_params(obj, obj_ce, fn_proxy, function_name, retval) \ argument 43 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 0, NULL, N… 45 #define zend_call_method_with_1_params(obj, obj_ce, fn_proxy, function_name, retval, arg1) \ argument 46 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 1, arg1, N… 48 #define zend_call_method_with_2_params(obj, obj_ce, fn_proxy, function_name, retval, arg1, arg2) \ argument 49 …zend_call_method(obj, obj_ce, fn_proxy, function_name, sizeof(function_name)-1, retval, 2, arg1, a…
|
H A D | zend_dtrace.d | 29 …probe function__entry(char* function_name, char* request_file, int lineno, char* classname, char* … 30 …probe function__return(char* function_name, char* request_file, int lineno, char* classname, char*…
|
H A D | zend_interfaces.c | 33 …ject, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t functi… in zend_call_method() argument 57 ZVAL_STRINGL(&fci.function_name, function_name, function_name_len); 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() 70 &obj_ce->function_table, function_name, function_name_len); in zend_call_method() 73 …RE_ERROR, "Couldn't find implementation for method %s::%s", ZSTR_VAL(obj_ce->name), function_name); in zend_call_method() 76 fcic.function_handler = zend_fetch_function_str(function_name, function_name_len); in zend_call_method() 79 … zend_error_noreturn(E_CORE_ERROR, "Couldn't find implementation for function %s", function_name); in zend_call_method() 111 …t execute method %s%s%s", obj_ce ? ZSTR_VAL(obj_ce->name) : "", obj_ce ? "::" : "", function_name); in zend_call_method()
|
H A D | zend_builtin_functions.c | 173 ZEND_ARG_INFO(0, function_name) 1904 zend_string *function_name; in ZEND_FUNCTION() local 2255 const char *function_name; in ZEND_FUNCTION() local 2333 function_name = NULL; in ZEND_FUNCTION() 2336 if (function_name) { in ZEND_FUNCTION() 2365 function_name = "unknown"; in ZEND_FUNCTION() 2370 function_name = "eval"; in ZEND_FUNCTION() 2374 function_name = "include"; in ZEND_FUNCTION() 2453 zend_string *function_name; in zend_fetch_debug_backtrace() local 2562 function_name = NULL; in zend_fetch_debug_backtrace() [all …]
|
H A D | zend_object_handlers.c | 205 ZVAL_UNDEF(&fci.function_name); /* Unused */ in zend_std_call_getter() 242 ZVAL_UNDEF(&fci.function_name); /* Unused */ in zend_std_call_setter() 278 ZVAL_UNDEF(&fci.function_name); /* Unused */ in zend_std_call_unsetter() 315 ZVAL_UNDEF(&fci.function_name); /* Unused */ in zend_std_call_issetter() 1153 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_get_call_trampoline_func() 1181 func->function_name = zend_string_copy(method_name); in zend_get_call_trampoline_func() 1299 lc_function_name = zend_string_tolower(function_name); in zend_std_get_static_method() 1312 && (ZSTR_VAL(ce->constructor->common.function_name)[0] != '_' in zend_std_get_static_method() 1330 return zend_get_user_call_function(call_ce, function_name); in zend_std_get_static_method() 1354 fbc = zend_get_user_callstatic_function(ce, function_name); in zend_std_get_static_method() [all …]
|
H A D | zend_execute_API.c | 429 zend_string *function_name = func->common.function_name; in get_active_function_name() local 431 if (function_name) { in get_active_function_name() 432 return ZSTR_VAL(function_name); in get_active_function_name() 439 return ZSTR_VAL(func->common.function_name); in get_active_function_name() 592 ZVAL_COPY_VALUE(&fci.function_name, function_name); in _call_user_function_ex() 654 = zend_get_callable_name_ex(&fci->function_name, fci->object); in zend_call_function() 690 ZSTR_VAL(func->common.function_name)); in zend_call_function() 716 ZSTR_VAL(func->common.function_name)); in zend_call_function() 802 zend_string_release_ex(func->common.function_name, 0); in zend_call_function() 915 ZVAL_STR_COPY(&fcall_info.function_name, EG(autoload_func)->common.function_name); in zend_lookup_class_ex() [all …]
|
H A D | zend_API.c | 183 ZSTR_VAL(active_function->common.function_name), in zend_wrong_parameters_none_error() 203 ZSTR_VAL(active_function->common.function_name), in zend_wrong_parameters_none_exception() 223 ZSTR_VAL(active_function->common.function_name), in zend_wrong_parameters_count_error() 242 ZSTR_VAL(active_function->common.function_name), in zend_wrong_parameters_count_exception() 2100 name_len = ZSTR_LEN(fptr->common.function_name); in zend_check_magic_method_implementation() 3512 ZVAL_COPY_VALUE(&fci->function_name, callable); in zend_fcall_info_init() 4284 return f->common.function_name; in zend_resolve_method_name() 4291 return f->common.function_name; in zend_resolve_method_name() 4294 …!strncasecmp(ZSTR_VAL(name), ZSTR_VAL(f->common.function_name), ZSTR_LEN(f->common.function_name))… in zend_resolve_method_name() 4295 return f->common.function_name; in zend_resolve_method_name() [all …]
|
H A D | zend_closures.c | 57 zend_string_release_ex(func->internal_function.function_name, 0); in ZEND_METHOD() 81 ZSTR_VAL(func->common.function_name), in zend_valid_closure_binding() 157 ZVAL_COPY_VALUE(&fci.function_name, zclosure); in ZEND_METHOD() 241 ZVAL_STR(&fci.params[0], EX(func)->common.function_name); in ZEND_NAMED_FUNCTION() 273 && zend_string_equals_literal(mptr->common.function_name, "__invoke")) { in zend_create_closure_from_callable() 284 call.function_name = mptr->common.function_name; in zend_create_closure_from_callable() 371 invoke->internal_function.function_name = ZSTR_KNOWN(ZEND_STR_MAGIC_INVOKE); in zend_get_closure_invoke_method()
|
H A D | zend_opcode.c | 63 op_array->function_name = NULL; in init_op_array() 109 ZEND_ASSERT(function->common.function_name); in zend_function_dtor() 114 ZEND_ASSERT(function->common.function_name); in zend_function_dtor() 115 zend_string_release_ex(function->common.function_name, 1); in zend_function_dtor() 349 if (op_array->run_time_cache && !op_array->function_name) { in destroy_op_array() 383 if (op_array->function_name) { in destroy_op_array() 384 zend_string_release_ex(op_array->function_name, 0); in destroy_op_array()
|
/PHP-7.3/ext/spl/ |
H A D | spl_functions.h | 69 #define SPL_ME(class_name, function_name, arg_info, flags) \ argument 70 PHP_ME( spl_ ## class_name, function_name, arg_info, flags) 72 #define SPL_ABSTRACT_ME(class_name, function_name, arg_info) \ argument 73 ZEND_ABSTRACT_ME( spl_ ## class_name, function_name, arg_info) 75 #define SPL_METHOD(class_name, function_name) \ argument 76 PHP_METHOD(spl_ ## class_name, function_name) 78 #define SPL_MA(class_name, function_name, alias_class, alias_function, arg_info, flags) \ argument 79 PHP_MALIAS(spl_ ## alias_class, function_name, alias_function, arg_info, flags)
|
H A D | spl_engine.h | 36 …l_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.function_… in spl_instantiate_arg_ex1() 47 …l_method(retval, pce, &func, ZSTR_VAL(func->common.function_name), ZSTR_LEN(func->common.function_… in spl_instantiate_arg_ex2() 63 ZVAL_STR(&fci.function_name, func->common.function_name); in spl_instantiate_arg_n()
|
H A D | php_spl.c | 380 zend_string_release_ex(alfi->func_ptr->common.function_name, 0); in autoload_func_info_dtor() 419 ZVAL_UNDEF(&fci.function_name); /* Unused */ in PHP_FUNCTION() 428 zend_string_addref(func->op_array.function_name); in PHP_FUNCTION() 471 ZVAL_UNDEF(&fcall_info.function_name); in PHP_FUNCTION() 626 zend_hash_add_mem(SPL_G(autoload_functions), spl_autoload_fn->common.function_name, in PHP_FUNCTION() 638 alfi.func_ptr->common.function_name = NULL; in PHP_FUNCTION() 649 zend_string_release_ex(alfi.func_ptr->common.function_name, 0); in PHP_FUNCTION() 719 if (zend_string_equals(lc_name, spl_autoload_call_fn->common.function_name)) { in PHP_FUNCTION() 740 } else if (zend_string_equals(lc_name, spl_autoload_fn->common.function_name)) { in PHP_FUNCTION() 796 add_next_index_str(&tmp, zend_string_copy(alfi->func_ptr->common.function_name)); in PHP_FUNCTION() [all …]
|
/PHP-7.3/sapi/phpdbg/ |
H A D | phpdbg_print.c | 69 ZSTR_VAL(method->common.function_name), in phpdbg_print_function_helper() 77 method->common.function_name ? ZSTR_VAL(method->common.function_name) : "{main}", in phpdbg_print_function_helper() 99 …", "type=\"Internal\" function=\"%s\"", "\tInternal %s()", ZSTR_VAL(method->common.function_name)); in phpdbg_print_function_helper() 128 if (ops->function_name) { in PHPDBG_PRINT() 130 …"Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT() 132 …, "function=\"%s\" num=\"%d\"", "Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT() 195 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT() 246 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT() 274 …->op_array.function_name->len == len && !zend_binary_strcasecmp(function, len, func->op_array.func… in phpdbg_print_opcodes_function() 283 …tion name: %.*s\n", (int) ZSTR_LEN(func->op_array.function_name), ZSTR_VAL(func->op_array.function… in phpdbg_print_opcodes_function() [all …]
|
H A D | phpdbg_info.c | 213 if (ops->function_name) { in phpdbg_print_symbols() 215 …um=\"%d\"", "Variables in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, zend_has… in phpdbg_print_symbols() 217 …"function=\"%s\" num=\"%d\"", "Variables in %s() (%d)", ZSTR_VAL(ops->function_name), zend_hash_nu… in phpdbg_print_symbols() 314 if (ops->function_name) { in PHPDBG_INFO() 316 …d\"", "Literal Constants in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, count); in PHPDBG_INFO() 318 …", "function=\"%s\" num=\"%d\"", "Literal Constants in %s() (%d)", ops->function_name->val, count); in PHPDBG_INFO() 452 …function", "name=\"%s\"", "|-------- %s", op_array->function_name ? ZSTR_VAL(op_array->function_na… in PHPDBG_INFO()
|
H A D | phpdbg_opcode.h | 33 zend_string *function_name; member
|
H A D | phpdbg_opcode.c | 184 cur->function_name = op_array->function_name; in phpdbg_print_opline_ex()
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 78 long function_name; in fpm_php_trace_dump() local 90 if (0 > fpm_trace_get_long(function + offsetof(zend_function, common.function_name), &l)) { in fpm_php_trace_dump() 94 function_name = l; in fpm_php_trace_dump() 96 if (function_name == 0) { in fpm_php_trace_dump() 110 if (0 > fpm_trace_get_strz(buf, buf_size, function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
|
/PHP-7.3/ext/opcache/ |
H A D | zend_persist_calc.c | 165 if (op_array->function_name) { in zend_persist_op_array_calc_ex() 166 zend_string *new_name = zend_shared_alloc_get_xlat_entry(op_array->function_name); in zend_persist_op_array_calc_ex() 168 op_array->function_name = new_name; in zend_persist_op_array_calc_ex() 186 if (op_array->function_name) { in zend_persist_op_array_calc_ex() 187 zend_string *old_name = op_array->function_name; in zend_persist_op_array_calc_ex() 191 op_array->function_name = new_name; in zend_persist_op_array_calc_ex() 193 ADD_INTERNED_STRING(op_array->function_name, 0); in zend_persist_op_array_calc_ex() 194 zend_shared_alloc_register_xlat_entry(old_name, op_array->function_name); in zend_persist_op_array_calc_ex()
|
/PHP-7.3/ext/soap/ |
H A D | soap.c | 322 ZEND_ARG_INFO(0, function_name) 327 ZEND_ARG_INFO(0, function_name) 939 zval_ptr_dtor(&fci.function_name); in PHP_METHOD() 1782 fn_name = estrndup(Z_STRVAL(h->function_name),Z_STRLEN(h->function_name)); 1821 fn_name = estrndup(Z_STRVAL(function_name),Z_STRLEN(function_name)); 1875 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name)); 1967 zval_ptr_dtor_str(&function_name); 2027 ZVAL_NULL(&(*p)->function_name); 3613 smart_str_appendl(&key, Z_STRVAL(h->function_name), Z_STRLEN(h->function_name)); 4223 if (function_name) { [all …]
|
/PHP-7.3/ext/soap/tests/bugs/ |
H A D | bug41477.phpt | 16 string(13) "function_name"
|
/PHP-7.3/Zend/tests/ |
H A D | function_exists_error.phpt | 6 * proto bool function_exists(string function_name)
|
H A D | function_exists_basic.phpt | 6 * proto bool function_exists(string function_name)
|
/PHP-7.3/ext/standard/ |
H A D | basic_functions.h | 263 PHPAPI extern zend_bool register_user_shutdown_function(char *function_name, size_t function_len, p… 264 PHPAPI extern zend_bool remove_user_shutdown_function(char *function_name, size_t function_len);
|
/PHP-7.3/ext/standard/tests/general_functions/ |
H A D | call_user_func_array_variation_003.phpt | 5 /* Prototype : mixed call_user_func_array(string function_name, array parameters) 25 $function_name = 'test_func'; 103 var_dump( call_user_func_array($function_name, $value) );
|
/PHP-7.3/ext/zend_test/ |
H A D | test.c | 152 fptr->function_name = zend_string_copy(name); in zend_test_class_method_get() 168 fptr->function_name = name; in zend_test_class_static_method_get()
|