/PHP-8.2/ext/zend_test/ |
H A D | observer.c | 150 if (fbc->common.function_name) { in observer_show_init() 151 if (fbc->common.scope) { in observer_show_init() 166 zend_function *fbc = ex->func; in observer_show_init_backtrace() local 168 if (fbc->common.function_name) { in observer_show_init_backtrace() 169 if (fbc->common.scope) { in observer_show_init_backtrace() 183 zend_function *fbc = execute_data->func; in observer_fcall_init() local 185 observer_show_init(fbc); in observer_fcall_init() 194 } else if (fbc->common.function_name) { in observer_fcall_init() 283 zend_function *fbc = execute_data->func; in zend_test_execute_internal() local 285 if (fbc->common.function_name) { in zend_test_execute_internal() [all …]
|
/PHP-8.2/sapi/phpdbg/ |
H A D | phpdbg_print.c | 159 zend_function *fbc; in PHPDBG_PRINT() local 165 (fbc->type == ZEND_USER_FUNCTION) ? "User" : "Internal", in PHPDBG_PRINT() 166 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT() 167 (fbc->type == ZEND_USER_FUNCTION) ? fbc->op_array.last : 0); in PHPDBG_PRINT() 169 phpdbg_print_function_helper(fbc); in PHPDBG_PRINT() 185 zend_function* fbc; in PHPDBG_PRINT() local 213 if ((fbc = zend_hash_find_ptr(func_table, lcname))) { in PHPDBG_PRINT() 216 (fbc->common.scope) ? "Method" : "Function", in PHPDBG_PRINT() 217 ZSTR_VAL(fbc->common.function_name), in PHPDBG_PRINT() 218 (fbc->type == ZEND_USER_FUNCTION) ? fbc->op_array.last : 0); in PHPDBG_PRINT() [all …]
|
H A D | phpdbg_list.c | 172 void phpdbg_list_function(const zend_function *fbc) /* {{{ */ in phpdbg_list_function() argument 176 if (fbc->type != ZEND_USER_FUNCTION) { in phpdbg_list_function() 177 …phpdbg_error("The function requested (%s) is not user defined", ZSTR_VAL(fbc->common.function_name… in phpdbg_list_function() 181 ops = (zend_op_array *) fbc; in phpdbg_list_function() 189 zend_function* fbc; in phpdbg_list_function_byname() local 216 if ((fbc = zend_hash_str_find_ptr(func_table, func_name, func_name_len))) { in phpdbg_list_function_byname() 217 phpdbg_list_function(fbc); in phpdbg_list_function_byname()
|
H A D | phpdbg_bp.c | 955 static inline phpdbg_breakbase_t *phpdbg_find_breakpoint_symbol(zend_function *fbc) /* {{{ */ in phpdbg_find_breakpoint_symbol() argument 959 if (fbc->type != ZEND_USER_FUNCTION) { in phpdbg_find_breakpoint_symbol() 963 ops = (zend_op_array *) fbc; in phpdbg_find_breakpoint_symbol()
|
/PHP-8.2/Zend/ |
H A D | zend_object_handlers.c | 1215 zend_function *fbc; in zend_get_parent_private_method() local 1223 return fbc; in zend_get_parent_private_method() 1271 ZEND_ASSERT(fbc); in zend_get_call_trampoline_func() 1297 func->T = (fbc->type == ZEND_USER_FUNCTION)? MAX(fbc->op_array.last_var + fbc->op_array.T, 2) : 2; in zend_get_call_trampoline_func() 1346 zend_function *fbc; in zend_std_get_method() local 1395 fbc = NULL; in zend_std_get_method() 1402 if (fbc && UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_ABSTRACT)) { in zend_std_get_method() 1404 fbc = NULL; in zend_std_get_method() 1409 return fbc; in zend_std_get_method() 1475 fbc = NULL; in zend_std_get_static_method() [all …]
|
H A D | zend_execute.c | 1193 cur_arg_info = &fbc->common.arg_info[fbc->common.num_args]; in zend_verify_internal_arg_types() 1241 fbc->common.scope ? ZSTR_VAL(fbc->common.scope->name) : "", in zend_internal_call_arginfo_violation() 2174 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_non_static_method_call() 3934 return fbc; in zend_fetch_function() 3949 return fbc; in zend_fetch_function_str() 4541 zend_function *fbc; in zend_init_dynamic_call_string() local 4621 zend_function *fbc; in zend_init_dynamic_call_object() local 4665 zend_function *fbc; in zend_init_dynamic_call_array() local 4942 *cache_slot = fbc; in zend_get_arg_offset_by_name() 4952 *cache_slot = fbc; in zend_get_arg_offset_by_name() [all …]
|
H A D | zend_object_handlers.h | 195 #define zend_get_function_root_class(fbc) \ argument 196 ((fbc)->common.prototype ? (fbc)->common.prototype->common.scope : (fbc)->common.scope)
|
H A D | zend_vm_def.h | 3431 zend_function *fbc; variable 3587 zend_function *fbc; variable 3678 fbc = ce->constructor; 3717 zend_function *fbc; variable 3728 fbc = Z_FUNC_P(func); 3862 zend_function *fbc; variable 3875 fbc = Z_FUNC_P(func); 3895 zend_function *fbc; variable 3903 fbc = Z_FUNC_P(func); 8700 …call->func = (fbc->op_array.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc-… [all …]
|
H A D | zend_compile.c | 3543 fbc = NULL; in zend_compile_args() 3552 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args() 3601 if (!fbc || ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args() 3715 if (fbc) { in zend_get_call_op() 4038 if (!fbc in zend_try_compile_ct_bound_init_user_func() 4163 if (fbc && fbc_is_finalized(fbc)) { in zend_compile_assert() 4195 if (!fbc) { in zend_compile_assert() 4564 if (!fbc in zend_compile_call() 4647 fbc = NULL; in zend_compile_method_call() 4670 return fbc; in zend_get_compatible_func_or_null() [all …]
|
H A D | zend_vm_execute.h | 3375 …call->func = (fbc->op_array.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc-… in ZEND_CALL_TRAMPOLINE_SPEC_HANDLER() 3397 fbc = call->func; in ZEND_CALL_TRAMPOLINE_SPEC_HANDLER() 3540 fbc = call->func; in ZEND_CALL_TRAMPOLINE_SPEC_OBSERVER_HANDLER() 3671 zend_function *fbc; in ZEND_INIT_FCALL_BY_NAME_SPEC_CONST_HANDLER() local 3754 zend_function *fbc; in ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER() local 3787 zend_function *fbc; in ZEND_INIT_FCALL_SPEC_CONST_HANDLER() local 6728 zend_function *fbc; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CONST_HANDLER() local 6884 zend_function *fbc; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER() local 9073 zend_function *fbc; in ZEND_INIT_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER() local 9229 zend_function *fbc; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_TMPVAR_HANDLER() local [all …]
|
H A D | zend_execute.h | 62 ZEND_API ZEND_COLD void ZEND_FASTCALL zend_deprecated_function(const zend_function *fbc); 93 ZEND_API bool zend_internal_call_should_throw(zend_function *fbc, zend_execute_data *call); 94 ZEND_API ZEND_COLD void zend_internal_call_arginfo_violation(zend_function *fbc);
|
H A D | zend_compile.h | 888 ZEND_API zend_uchar zend_get_call_op(const zend_op *init_op, zend_function *fbc);
|
/PHP-8.2/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 74 fbc = _zend_jit_init_func_run_time_cache(&fbc->op_array); in zend_jit_find_func_helper() 76 *cache_slot = fbc; in zend_jit_find_func_helper() 77 return fbc; in zend_jit_find_func_helper() 93 fbc = _zend_jit_init_func_run_time_cache(&fbc->op_array); in zend_jit_find_ns_func_helper() 95 *cache_slot = fbc; in zend_jit_find_ns_func_helper() 96 return fbc; in zend_jit_find_ns_func_helper() 166 return fbc; in zend_jit_find_method_helper() 173 return fbc; in zend_jit_find_method_helper() 181 if (!fbc) { in zend_jit_find_method_tmp_helper() 191 return fbc; in zend_jit_find_method_tmp_helper() [all …]
|
H A D | zend_jit_vm_helpers.c | 177 zend_function *fbc = call->func; in zend_jit_deprecated_helper() local 179 zend_deprecated_function(fbc); in zend_jit_deprecated_helper()
|
H A D | zend_jit_arm64.dasc | 8908 | // fbc = CACHED_PTR(opline->result.num + sizeof(void*)); 8919 | // fbc = CACHED_PTR(opline->result.num + sizeof(void*)); 8978 | // if (fbc->common.fn_flags & ZEND_ACC_STATIC) { 9211 | // fbc = call->func; 9581 | // (zend_execute_internal ? zend_execute_internal : fbc->internal_function.handler)(call, ret);
|
H A D | zend_jit_x86.dasc | 9568 | // fbc = CACHED_PTR(opline->result.num + sizeof(void*)); 9579 | // fbc = CACHED_PTR(opline->result.num + sizeof(void*)); 9661 | // if (fbc->common.fn_flags & ZEND_ACC_STATIC) { 9916 | // fbc = call->func; 10300 | // (zend_execute_internal ? zend_execute_internal : fbc->internal_function.handler)(call, ret);
|
/PHP-8.2/Zend/Optimizer/ |
H A D | zend_optimizer.c | 874 if (fbc) { in zend_optimizer_get_called_func() 875 bool is_public = (fbc->common.fn_flags & ZEND_ACC_PUBLIC) != 0; in zend_optimizer_get_called_func() 876 bool same_scope = fbc->common.scope == op_array->scope; in zend_optimizer_get_called_func() 878 return fbc; in zend_optimizer_get_called_func() 891 zend_function *fbc = zend_hash_find_ptr( in zend_optimizer_get_called_func() local 893 if (fbc) { in zend_optimizer_get_called_func() 894 bool is_private = (fbc->common.fn_flags & ZEND_ACC_PRIVATE) != 0; in zend_optimizer_get_called_func() 895 bool is_final = (fbc->common.fn_flags & ZEND_ACC_FINAL) != 0; in zend_optimizer_get_called_func() 896 bool same_scope = fbc->common.scope == op_array->scope; in zend_optimizer_get_called_func() 900 return same_scope ? fbc : NULL; in zend_optimizer_get_called_func() [all …]
|
/PHP-8.2/ext/pdo/ |
H A D | pdo_dbh.c | 1315 zend_function *fbc = NULL; in dbh_method_get() local 1319 if ((fbc = zend_std_get_method(object, method_name, key)) == NULL) { in dbh_method_get() 1331 …fbc = zend_hash_find_ptr(dbh_obj->inner->cls_methods[PDO_DBH_DRIVER_METHOD_KIND_DBH], lc_method_na… in dbh_method_get() 1336 return fbc; in dbh_method_get()
|
H A D | pdo_stmt.c | 2044 zend_function *fbc = NULL; in dbstmt_method_get() local 2050 if ((fbc = zend_hash_find_ptr(&object->ce->function_table, lc_method_name)) == NULL) { in dbstmt_method_get() 2066 …if ((fbc = zend_hash_find_ptr(stmt->dbh->cls_methods[PDO_DBH_DRIVER_METHOD_KIND_STMT], lc_method_n… in dbstmt_method_get() 2074 if (!fbc) { in dbstmt_method_get() 2075 fbc = zend_std_get_method(object_pp, method_name, key); in dbstmt_method_get() 2077 return fbc; in dbstmt_method_get()
|