Home
last modified time | relevance | path

Searched refs:function_name (Results 1 – 25 of 90) sorted by relevance

1234

/PHP-8.4/Zend/
H A Dzend_interfaces.h41 …ject, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t functi…
44 zend_function **fn_proxy, const char *function_name, zval *retval) in zend_call_method_with_0_params() argument
46 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 0,… in zend_call_method_with_0_params()
50 zend_function **fn_proxy, const char *function_name, zval *retval, zval* arg1) in zend_call_method_with_1_params() argument
52 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 1,… in zend_call_method_with_1_params()
56 zend_function **fn_proxy, const char *function_name, zval *retval, zval* arg1, zval* arg2) in zend_call_method_with_2_params() argument
58 …return zend_call_method(object, obj_ce, fn_proxy, function_name, strlen(function_name), retval, 2,… in zend_call_method_with_2_params()
H A Dzend_dtrace.d29 …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 Dzend_closures.c88 ZSTR_VAL(func->common.function_name), in zend_valid_closure_binding()
153 ZVAL_OBJ(&fci.function_name, &closure->std); in ZEND_METHOD()
301 ZVAL_STR(&fci.params[0], EX(func)->common.function_name); in ZEND_NAMED_FUNCTION()
366 call.function_name = mptr->common.function_name; in zend_create_closure_from_callable()
382 zend_string_release(mptr->common.function_name); in zend_create_closure_from_callable()
454 if (!zend_string_equals(lhs->func.common.function_name, rhs->func.common.function_name)) { in zend_closure_compare()
529 zend_string_release(closure->func.common.function_name); in zend_closure_free_storage()
603 ZVAL_STR_COPY(&val, closure->func.common.function_name); in zend_closure_get_debug_info()
607 ZVAL_STR_COPY(&val, closure->func.common.function_name); in zend_closure_get_debug_info()
876 trampoline.function_name = mptr->common.function_name; in zend_closure_from_frame()
[all …]
H A Dzend_execute_API.c184 EG(trampoline).common.function_name = NULL; in init_executor()
569 zend_string *function_name = func->common.function_name; in get_active_function_name() local
571 if (function_name) { in get_active_function_name()
572 return ZSTR_VAL(function_name); in get_active_function_name()
579 return ZSTR_VAL(func->common.function_name); in get_active_function_name()
612 if (func->common.scope && func->common.function_name) { in get_function_or_method_name()
616 …return func->common.function_name ? zend_string_copy(func->common.function_name) : ZSTR_INIT_LITER… in get_function_or_method_name()
786 ZVAL_COPY_VALUE(&fci.function_name, function_name); in _call_user_function_impl()
831 = zend_get_callable_name_ex(&fci->function_name, fci->object); in zend_call_function()
1088 ZVAL_UNDEF(&fci.function_name); /* Unused */ in zend_call_known_function()
[all …]
H A Dzend_object_handlers.c1607 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_get_call_trampoline_func()
1645 func->function_name = zend_string_copy(method_name); in zend_get_call_trampoline_func()
1677 zend_string_release(EX(func)->common.function_name); in ZEND_FUNCTION()
1696 zend_string_release(EX(func)->common.function_name); in ZEND_FUNCTION()
1707 if (EXPECTED(EG(trampoline).common.function_name == NULL)) { in zend_get_property_hook_trampoline()
1717 func->common.function_name = zend_string_concat3( in zend_get_property_hook_trampoline()
1840 zend_class_entry *ce, zend_string *function_name) in get_static_method_fallback() argument
1852 return zend_get_user_callstatic_function(ce, function_name); in get_static_method_fallback()
1864 lc_function_name = zend_string_tolower(function_name); in zend_std_get_static_method()
1878 zend_bad_method_call(fbc, function_name, scope); in zend_std_get_static_method()
[all …]
H A Dzend_interfaces.c39 …ject, zend_class_entry *obj_ce, zend_function **fn_proxy, const char *function_name, size_t functi… in zend_call_method() argument
58 &obj_ce->function_table, function_name, function_name_len); in zend_call_method()
61 …RE_ERROR, "Couldn't find implementation for method %s::%s", ZSTR_VAL(obj_ce->name), function_name); in zend_call_method()
64 fn = zend_fetch_function_str(function_name, function_name_len); in zend_call_method()
67 … zend_error_noreturn(E_CORE_ERROR, "Couldn't find implementation for function %s", function_name); in zend_call_method()
/PHP-8.4/Zend/tests/
H A Dclosure_065.phpt29 function function_name() {
59 function function_name() {
68 \NameSpaceName\function_name();
73 \function_name();
84 string(42) "{closure:NameSpaceName\function_name():27}"
87 string(28) "{closure:function_name():57}"
/PHP-8.4/ext/zend_test/
H A Dobserver.c85 if (execute_data->func && execute_data->func->common.function_name) { in observer_begin()
89 …<%s>\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(execute_data->func->common.function_name)); in observer_begin()
135 if (execute_data->func && execute_data->func->common.function_name) { in observer_end()
151 if (fbc->common.function_name) { in observer_show_init()
155 …s<!-- init %s() -->\n", 2 * ZT_G(observer_nesting_depth), "", ZSTR_VAL(fbc->common.function_name)); in observer_show_init()
174 if (fbc->common.function_name) { in observer_show_init_backtrace()
176 …*s%s::%s()\n", indent, "", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in observer_show_init_backtrace()
178 php_printf("%*s%s()\n", indent, "", ZSTR_VAL(fbc->common.function_name)); in observer_show_init_backtrace()
200 } else if (fbc->common.function_name) { in observer_fcall_init()
203 } else if (zend_hash_exists(ZT_G(observer_observe_function_names), fbc->common.function_name)) { in observer_fcall_init()
[all …]
H A Dfiber.c108 zval_ptr_dtor(&fiber->fci.function_name); in zend_test_fiber_execute()
202 zval_ptr_dtor(&fiber->fci.function_name); in zend_test_fiber_object_free()
239 Z_TRY_ADDREF(fiber->fci.function_name); in ZEND_METHOD()
334 Z_TRY_ADDREF(target->fci.function_name); in ZEND_METHOD()
/PHP-8.4/sapi/phpdbg/
H A Dphpdbg_print.c63 i, (int) ZSTR_LEN(def->function_name), ZSTR_VAL(def->function_name)); in phpdbg_print_function_helper()
70 …tInternal %s::%s()", ZSTR_VAL(method->common.scope->name), ZSTR_VAL(method->common.function_name)); in phpdbg_print_function_helper()
72 phpdbg_writeln("\tInternal %s()", ZSTR_VAL(method->common.function_name)); in phpdbg_print_function_helper()
101 if (ops->function_name) { in PHPDBG_PRINT()
103 …"Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
105 phpdbg_notice("Stack in %s() (%d ops)", ZSTR_VAL(ops->function_name), ops->last); in PHPDBG_PRINT()
164 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT()
215 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT()
298 phpdbg_out("%s", ZSTR_VAL(method->common.function_name)); in phpdbg_print_opcodes_ce()
376 cur->function_name = op_array->function_name; in phpdbg_print_opline()
H A Dphpdbg_info.c213 if (ops->function_name) { in phpdbg_print_symbols()
215 …phpdbg_notice("Variables in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, zend_h… in phpdbg_print_symbols()
217 …phpdbg_notice("Variables in %s() (%d)", ZSTR_VAL(ops->function_name), zend_hash_num_elements(&vars… in phpdbg_print_symbols()
312 if (ops->function_name) { in PHPDBG_INFO()
314 …phpdbg_notice("Literal Constants in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val… in PHPDBG_INFO()
316 phpdbg_notice("Literal Constants in %s() (%d)", ops->function_name->val, count); in PHPDBG_INFO()
454 …phpdbg_write("|-------- %s", op_array->function_name ? ZSTR_VAL(op_array->function_name) : "{main}… in PHPDBG_INFO()
H A Dphpdbg_frame.c63 smart_str_append(&s, op_array->function_name); in phpdbg_compile_stackframe()
278 zval *function_name = NULL; in phpdbg_dump_backtrace() local
293 function_name = zend_hash_find(Z_ARRVAL_P(tmp), ZSTR_KNOWN(ZEND_STR_FUNCTION)); in phpdbg_dump_backtrace()
301 phpdbg_writeln(" => %s (internal function)", Z_STRVAL_P(function_name)); in phpdbg_dump_backtrace()
H A Dphpdbg_bp.c523 } else if (op_array->function_name) { in phpdbg_resolve_op_array_break()
546 if (op_array->function_name == NULL) { in phpdbg_resolve_op_array_breaks()
550 …} else if (!op_array->function_name || !(oplines_table = zend_hash_find_ptr(func_table, op_array-> in phpdbg_resolve_op_array_breaks()
592 …if (op_array->function_name == NULL && op_array->scope == NULL && new_break->class_len == ZSTR_LEN… in phpdbg_resolve_opline_break()
970 if (ops->function_name) { in phpdbg_find_breakpoint_symbol()
972 zend_string *fname = zend_string_tolower(ops->function_name); in phpdbg_find_breakpoint_symbol()
990 zend_string *lcname = zend_string_tolower(ops->function_name); in phpdbg_find_breakpoint_method()
1040 str = ops->function_name ? ZSTR_VAL(ops->function_name) : "main"; in phpdbg_find_breakpoint_param()
1041 len = ops->function_name ? ZSTR_LEN(ops->function_name) : strlen(str); in phpdbg_find_breakpoint_param()
1074 lengths[1] = ZSTR_LEN(ops->function_name); in phpdbg_find_breakpoint_param()
[all …]
/PHP-8.4/sapi/fpm/fpm/
H A Dfpm_php_trace.c73 long function_name; in fpm_php_trace_dump() local
85 if (0 > fpm_trace_get_long(function + offsetof(zend_function, common.function_name), &l)) { in fpm_php_trace_dump()
89 function_name = l; in fpm_php_trace_dump()
91 if (function_name == 0) { in fpm_php_trace_dump()
105 if (0 > fpm_trace_get_strz(buf, sizeof(buf), function_name + offsetof(zend_string, val))) { in fpm_php_trace_dump()
/PHP-8.4/ext/dom/
H A Dxpath_callbacks.c391 …arserContextPtr ctxt, zval *params, uint32_t param_count, const char *function_name, size_t functi… in php_dom_xpath_callback_dispatch() argument
408 ZVAL_STRINGL(&fci.function_name, function_name, function_name_length); in php_dom_xpath_callback_dispatch()
411 zend_string_release_ex(Z_STR(fci.function_name), false); in php_dom_xpath_callback_dispatch()
418 zval *fcc_wrapper = zend_hash_str_find(&ns->functions, function_name, function_name_length); in php_dom_xpath_callback_dispatch()
422 zend_throw_error(NULL, "No callback handler \"%s\" registered", function_name); in php_dom_xpath_callback_dispatch()
475 const char *function_name = (const char *) obj->stringval; in php_dom_xpath_callbacks_call_php_ns() local
476 size_t function_name_length = strlen(function_name); in php_dom_xpath_callbacks_call_php_ns()
478 …(xpath_callbacks, xpath_callbacks->php_ns, ctxt, params, param_count, function_name, function_name… in php_dom_xpath_callbacks_call_php_ns()
505 const char *function_name = (const char *) ctxt->context->function; in php_dom_xpath_callbacks_call_custom_ns() local
506 size_t function_name_length = strlen(function_name); in php_dom_xpath_callbacks_call_custom_ns()
[all …]
/PHP-8.4/ext/spl/
H A Dphp_spl.c367 zend_string_release_ex(alfi->func_ptr->common.function_name, 0); in autoload_func_info_destroy()
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()
408 …&& zend_string_equals(alfi1->func_ptr->common.function_name, alfi2->func_ptr->common.function_name) in autoload_func_info_equals()
437 zend_string_addref(func->op_array.function_name); in spl_perform_autoload()
533 …zend_is_callable_ex(&fci.function_name, NULL, IS_CALLABLE_SUPPRESS_DEPRECATIONS, NULL, &fcc, NULL); in PHP_FUNCTION()
547 alfi->func_ptr->common.function_name = NULL; in PHP_FUNCTION()
584 fcc.function_handler->common.function_name, "spl_autoload_call")) { in PHP_FUNCTION()
596 zend_is_callable_ex(&fci.function_name, NULL, 0, NULL, &fcc, NULL); in PHP_FUNCTION()
635 add_next_index_str(&tmp, zend_string_copy(alfi->func_ptr->common.function_name)); in PHP_FUNCTION()
[all …]
/PHP-8.4/ext/standard/
H A Dbasic_functions.h130 PHPAPI extern bool register_user_shutdown_function(const char *function_name, size_t function_len, …
131 PHPAPI extern bool remove_user_shutdown_function(const char *function_name, size_t function_len);
H A Dphp_var.h62 …eturn_value, const char *buf, const size_t buf_len, HashTable *options, const char* function_name);
/PHP-8.4/win32/
H A Dsignal.c122 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-8.4/ext/soap/
H A Dsoap.c38 zval function_name; member
1155 zval *function_name, function_copy; in PHP_METHOD() local
1165 if (Z_TYPE_P(function_name) == IS_ARRAY) { in PHP_METHOD()
1266 zval function_name, *params, *soap_obj, retval; in PHP_METHOD() local
1608 memcpy(response_name,Z_STRVAL(function_name),Z_STRLEN(function_name)); in PHP_METHOD()
1694 zval_ptr_dtor_str(&h->function_name); in PHP_METHOD()
1707 zval_ptr_dtor_str(&function_name); in PHP_METHOD()
1765 ZVAL_NULL(&(*p)->function_name); in PHP_METHOD()
3318 smart_str_appendl(&key, Z_STRVAL(h->function_name), Z_STRLEN(h->function_name)); in deserialize_function_call()
3772 ? Z_STRVAL(h->function_name) : NULL; in serialize_response_call()
[all …]
/PHP-8.4/ext/pdo_sqlite/
H A Dpdo_sqlite.stub.php48 string $function_name, argument
/PHP-8.4/ext/opcache/
H A Dzend_persist_calc.c205 if (op_array->function_name) { in zend_persist_op_array_calc_ex()
206 zend_string *old_name = op_array->function_name; in zend_persist_op_array_calc_ex()
207 ADD_INTERNED_STRING(op_array->function_name); in zend_persist_op_array_calc_ex()
209 if (op_array->function_name != old_name in zend_persist_op_array_calc_ex()
210 && !zend_shared_alloc_get_xlat_entry(&op_array->function_name)) { in zend_persist_op_array_calc_ex()
211 zend_shared_alloc_register_xlat_entry(&op_array->function_name, old_name); in zend_persist_op_array_calc_ex()
364 zend_shared_alloc_get_xlat_entry(&old_op_array->function_name); in zend_persist_class_method_calc()
/PHP-8.4/ext/com_dotnet/
H A Dcom_handlers.c242 zend_string_release_ex(f->function_name, 0); in function_dtor()
252 zend_string *method = EX(func)->common.function_name; in PHP_FUNCTION()
284 zend_string_release(EX(func)->common.function_name); in PHP_FUNCTION()
312 f.function_name = zend_string_copy(name); in com_method_get()
381 zend_string_addref(fptr->function_name); in com_method_get()
/PHP-8.4/ext/pdo_sqlite/tests/subclasses/
H A Dpdo_sqlite_createafunction_arg_error.phpt45 Pdo\Sqlite::createFunction(): Argument #1 ($function_name) must be of type string, null given
/PHP-8.4/Zend/Optimizer/
H A Dzend_func_info.c108 zend_string *name = callee_func->common.function_name; in zend_get_internal_func_info()
154 zend_string *name = callee_func->common.function_name; in zend_get_func_info()

Completed in 62 milliseconds

1234