/PHP-8.1/ext/zend_test/ |
H A D | observer.c | 140 if (fbc->common.function_name) { in observer_show_init() 141 if (fbc->common.scope) { in observer_show_init() 156 zend_function *fbc = ex->func; in observer_show_init_backtrace() local 158 if (fbc->common.function_name) { in observer_show_init_backtrace() 159 if (fbc->common.scope) { in observer_show_init_backtrace() 173 zend_function *fbc = execute_data->func; in observer_fcall_init() local 175 observer_show_init(fbc); in observer_fcall_init() 184 } else if (fbc->common.function_name) { in observer_fcall_init() 261 zend_function *fbc = execute_data->func; in zend_test_execute_internal() local 263 if (fbc->common.function_name) { in zend_test_execute_internal() [all …]
|
/PHP-8.1/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.1/Zend/ |
H A D | zend_object_handlers.c | 1182 zend_function *fbc; in zend_get_parent_private_method() local 1190 return fbc; in zend_get_parent_private_method() 1238 ZEND_ASSERT(fbc); in zend_get_call_trampoline_func() 1264 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() 1313 zend_function *fbc; in zend_std_get_method() local 1362 fbc = NULL; in zend_std_get_method() 1369 if (fbc && UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_ABSTRACT)) { in zend_std_get_method() 1371 fbc = NULL; in zend_std_get_method() 1376 return fbc; in zend_std_get_method() 1442 fbc = NULL; in zend_std_get_static_method() [all …]
|
H A D | zend_execute.c | 1152 cur_arg_info = &fbc->common.arg_info[fbc->common.num_args]; in zend_verify_internal_arg_types() 1200 fbc->common.scope ? ZSTR_VAL(fbc->common.scope->name) : "", in zend_internal_call_arginfo_violation() 2211 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_non_static_method_call() 3968 return fbc; in zend_fetch_function() 3983 return fbc; in zend_fetch_function_str() 4558 zend_function *fbc; in zend_init_dynamic_call_string() local 4638 zend_function *fbc; in zend_init_dynamic_call_object() local 4682 zend_function *fbc; in zend_init_dynamic_call_array() local 4963 *cache_slot = fbc; in zend_get_arg_offset_by_name() 4973 *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 | 3443 zend_function *fbc; variable 3599 zend_function *fbc; variable 3690 fbc = ce->constructor; 3729 zend_function *fbc; variable 3740 fbc = Z_FUNC_P(func); 3874 zend_function *fbc; variable 3887 fbc = Z_FUNC_P(func); 3907 zend_function *fbc; variable 3917 fbc = Z_FUNC_P(func); 8639 …call->func = (fbc->op_array.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc-… [all …]
|
H A D | zend_compile.c | 3532 fbc = NULL; in zend_compile_args() 3541 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args() 3590 if (!fbc || ARG_MUST_BE_SENT_BY_REF(fbc, arg_num)) { in zend_compile_args() 3701 if (fbc) { in zend_get_call_op() 4001 if (!fbc || !fbc_is_finalized(fbc) in zend_try_compile_ct_bound_init_user_func() 4128 if (fbc && fbc_is_finalized(fbc)) { in zend_compile_assert() 4160 if (!fbc) { in zend_compile_assert() 4529 if (!fbc || !fbc_is_finalized(fbc) in zend_compile_call() 4614 fbc = NULL; in zend_compile_method_call() 4637 return fbc; in zend_get_compatible_func_or_null() [all …]
|
H A D | zend_vm_execute.h | 3285 …call->func = (fbc->op_array.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc-… in ZEND_CALL_TRAMPOLINE_SPEC_HANDLER() 3307 fbc = call->func; in ZEND_CALL_TRAMPOLINE_SPEC_HANDLER() 3424 …call->func = (fbc->op_array.fn_flags & ZEND_ACC_STATIC) ? fbc->op_array.scope->__callstatic : fbc-… in ZEND_CALL_TRAMPOLINE_SPEC_OBSERVER_HANDLER() 3446 fbc = call->func; in ZEND_CALL_TRAMPOLINE_SPEC_OBSERVER_HANDLER() 3572 zend_function *fbc; in ZEND_INIT_FCALL_BY_NAME_SPEC_CONST_HANDLER() local 3655 zend_function *fbc; in ZEND_INIT_NS_FCALL_BY_NAME_SPEC_CONST_HANDLER() local 3688 zend_function *fbc; in ZEND_INIT_FCALL_SPEC_CONST_HANDLER() local 6640 zend_function *fbc; in ZEND_INIT_METHOD_CALL_SPEC_CONST_CONST_HANDLER() local 6796 zend_function *fbc; in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER() local 8963 zend_function *fbc; in ZEND_INIT_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 | 866 ZEND_API zend_uchar zend_get_call_op(const zend_op *init_op, zend_function *fbc);
|
/PHP-8.1/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_x86.dasc | 9704 | // fbc = CACHED_PTR(opline->result.num + sizeof(void*)); 9715 | // fbc = CACHED_PTR(opline->result.num + sizeof(void*)); 9797 | // if (fbc->common.fn_flags & ZEND_ACC_STATIC) { 10052 | // fbc = call->func; 10447 | // (zend_execute_internal ? zend_execute_internal : fbc->internal_function.handler)(call, ret);
|
H A D | zend_jit_arm64.dasc | 9033 | // fbc = CACHED_PTR(opline->result.num + sizeof(void*)); 9044 | // fbc = CACHED_PTR(opline->result.num + sizeof(void*)); 9103 | // if (fbc->common.fn_flags & ZEND_ACC_STATIC) { 9336 | // fbc = call->func; 9718 | // (zend_execute_internal ? zend_execute_internal : fbc->internal_function.handler)(call, ret);
|
/PHP-8.1/Zend/Optimizer/ |
H A D | zend_optimizer.c | 811 if (fbc) { in zend_optimizer_get_called_func() 812 bool is_public = (fbc->common.fn_flags & ZEND_ACC_PUBLIC) != 0; in zend_optimizer_get_called_func() 813 bool same_scope = fbc->common.scope == op_array->scope; in zend_optimizer_get_called_func() 815 return fbc; in zend_optimizer_get_called_func() 828 zend_function *fbc = zend_hash_find_ptr( in zend_optimizer_get_called_func() local 830 if (fbc) { in zend_optimizer_get_called_func() 831 bool is_private = (fbc->common.fn_flags & ZEND_ACC_PRIVATE) != 0; in zend_optimizer_get_called_func() 832 bool is_final = (fbc->common.fn_flags & ZEND_ACC_FINAL) != 0; in zend_optimizer_get_called_func() 833 bool same_scope = fbc->common.scope == op_array->scope; in zend_optimizer_get_called_func() 837 return same_scope ? fbc : NULL; in zend_optimizer_get_called_func() [all …]
|
/PHP-8.1/ext/pdo/ |
H A D | pdo_dbh.c | 1298 zend_function *fbc = NULL; in dbh_method_get() local 1302 if ((fbc = zend_std_get_method(object, method_name, key)) == NULL) { in dbh_method_get() 1314 …fbc = zend_hash_find_ptr(dbh_obj->inner->cls_methods[PDO_DBH_DRIVER_METHOD_KIND_DBH], lc_method_na… in dbh_method_get() 1319 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()
|