php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include "zend_compile.h"
#include "zend_hash.h"
#include "zend_operators.h"
#include "zend_variables.h"
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | _zend_vm_stack |
Enumerations | |
enum | zend_verify_prop_assignable_by_ref_context { ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_ASSIGNMENT , ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_MAGIC_GET } |
Variables | |
ZEND_API void(* | zend_execute_ex )(zend_execute_data *execute_data) |
ZEND_API void(* | zend_execute_internal )(zend_execute_data *execute_data, zval *return_value) |
ZEND_API zend_class_entry *(* | zend_autoload )(zend_string *name, zend_string *lc_name) |
ZEND_API const zend_internal_function | zend_pass_function |
#define CACHE_ADDR | ( | num | ) |
Definition at line 446 of file zend_execute.h.
Definition at line 461 of file zend_execute.h.
Definition at line 477 of file zend_execute.h.
Definition at line 452 of file zend_execute.h.
Definition at line 470 of file zend_execute.h.
#define CACHE_SPECIAL (1<<0) |
Definition at line 482 of file zend_execute.h.
#define CACHED_POLYMORPHIC_PTR | ( | num, | |
ce ) |
Definition at line 456 of file zend_execute.h.
#define CACHED_POLYMORPHIC_PTR_EX | ( | slot, | |
ce ) |
Definition at line 474 of file zend_execute.h.
#define CACHED_PTR | ( | num | ) |
Definition at line 449 of file zend_execute.h.
#define CACHED_PTR_EX | ( | slot | ) |
Definition at line 467 of file zend_execute.h.
Definition at line 490 of file zend_execute.h.
Definition at line 496 of file zend_execute.h.
#define ENCODE_SPECIAL_CACHE_NUM | ( | num | ) |
Definition at line 487 of file zend_execute.h.
Definition at line 493 of file zend_execute.h.
Definition at line 484 of file zend_execute.h.
#define SKIP_EXT_OPLINE | ( | opline | ) |
Definition at line 499 of file zend_execute.h.
#define ZEND_ASSERT_VM_STACK | ( | stack | ) |
Definition at line 242 of file zend_execute.h.
#define ZEND_ASSERT_VM_STACK_GLOBAL |
Definition at line 243 of file zend_execute.h.
#define ZEND_CLASS_HAS_READONLY_PROPS | ( | ce | ) |
Definition at line 507 of file zend_execute.h.
#define ZEND_CLASS_HAS_TYPE_HINTS | ( | ce | ) |
Definition at line 506 of file zend_execute.h.
#define ZEND_REF_ADD_TYPE_SOURCE | ( | ref, | |
source ) |
Definition at line 517 of file zend_execute.h.
#define ZEND_REF_DEL_TYPE_SOURCE | ( | ref, | |
source ) |
Definition at line 520 of file zend_execute.h.
#define ZEND_REF_FIRST_SOURCE | ( | ref | ) |
Definition at line 122 of file zend_execute.h.
#define ZEND_REF_FOREACH_TYPE_SOURCES | ( | ref, | |
prop ) |
Definition at line 523 of file zend_execute.h.
#define ZEND_REF_FOREACH_TYPE_SOURCES_END | ( | ) |
Definition at line 539 of file zend_execute.h.
#define ZEND_REF_HAS_TYPE_SOURCES | ( | ref | ) |
Definition at line 119 of file zend_execute.h.
#define ZEND_REF_TYPE_SOURCES | ( | ref | ) |
Definition at line 116 of file zend_execute.h.
Definition at line 419 of file zend_execute.h.
Definition at line 421 of file zend_execute.h.
Definition at line 425 of file zend_execute.h.
#define ZEND_USER_OPCODE_ENTER 3 /* enter into new op_array without recursion */ |
Definition at line 422 of file zend_execute.h.
Definition at line 423 of file zend_execute.h.
Definition at line 420 of file zend_execute.h.
#define ZEND_VM_STACK_ELEMENTS | ( | stack | ) |
Definition at line 228 of file zend_execute.h.
#define ZEND_VM_STACK_HEADER_SLOTS ((sizeof(struct _zend_vm_stack) + sizeof(zval) - 1) / sizeof(zval)) |
Definition at line 225 of file zend_execute.h.
Enumerator | |
---|---|
ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_ASSIGNMENT | |
ZEND_VERIFY_PROP_ASSIGNABLE_BY_REF_CONTEXT_MAGIC_GET |
Definition at line 73 of file zend_execute.h.
ZEND_API void execute_ex | ( | zend_execute_data * | execute_data | ) |
Definition at line 55053 of file zend_vm_execute.h.
ZEND_API void execute_internal | ( | zend_execute_data * | execute_data, |
zval * | return_value ) |
Definition at line 4044 of file zend_execute.c.
ZEND_API const char * get_active_class_name | ( | const char ** | space | ) |
Definition at line 524 of file zend_execute_API.c.
ZEND_API const char * get_active_function_arg_name | ( | uint32_t | arg_num | ) |
Definition at line 620 of file zend_execute_API.c.
Definition at line 557 of file zend_execute_API.c.
ZEND_API zend_string * get_active_function_or_method_name | ( | void | ) |
Definition at line 602 of file zend_execute_API.c.
ZEND_API const char * get_function_arg_name | ( | const zend_function * | func, |
uint32_t | arg_num ) |
Definition at line 632 of file zend_execute_API.c.
ZEND_API zend_string * get_function_or_method_name | ( | const zend_function * | func | ) |
Definition at line 610 of file zend_execute_API.c.
Definition at line 132 of file zend_execute_API.c.
Definition at line 253 of file zend_execute_API.c.
Definition at line 428 of file zend_execute_API.c.
ZEND_API zend_function * zend_active_function_ex | ( | zend_execute_data * | execute_data | ) |
Definition at line 587 of file zend_execute_API.c.
ZEND_API zval * zend_assign_to_typed_ref | ( | zval * | variable_ptr, |
zval * | value, | ||
uint8_t | value_type, | ||
bool | strict ) |
Definition at line 3853 of file zend_execute.c.
ZEND_API zval * zend_assign_to_typed_ref_ex | ( | zval * | variable_ptr, |
zval * | value, | ||
uint8_t | value_type, | ||
bool | strict, | ||
zend_refcounted ** | garbage_ptr ) |
Definition at line 3818 of file zend_execute.c.
ZEND_API bool ZEND_FASTCALL zend_asymmetric_property_has_set_access | ( | const zend_property_info * | prop_info | ) |
Definition at line 580 of file zend_object_handlers.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_asymmetric_visibility_property_modification_error | ( | const zend_property_info * | info, |
const char * | operation ) |
Definition at line 921 of file zend_execute.c.
ZEND_API zend_never_inline ZEND_COLD void ZEND_FASTCALL zend_call_stack_size_error | ( | void | ) |
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_cannot_add_element | ( | void | ) |
Definition at line 2488 of file zend_execute.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_cannot_pass_by_reference | ( | uint32_t | arg_num | ) |
Definition at line 599 of file zend_execute.c.
ZEND_API bool zend_check_user_type_slow | ( | zend_type * | type, |
zval * | arg, | ||
zend_reference * | ref, | ||
void ** | cache_slot, | ||
bool | is_return_type ) |
Definition at line 1251 of file zend_execute.c.
ZEND_API void zend_clean_and_cache_symbol_table | ( | zend_array * | symbol_table | ) |
Definition at line 4049 of file zend_execute.c.
ZEND_API void zend_cleanup_unfinished_execution | ( | zend_execute_data * | execute_data, |
uint32_t | op_num, | ||
uint32_t | catch_op_num ) |
Definition at line 4747 of file zend_execute.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_deprecated_class_constant | ( | const zend_class_constant * | c, |
const zend_string * | constant_name ) |
Definition at line 1908 of file zend_execute.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_deprecated_function | ( | const zend_function * | fbc | ) |
Definition at line 1882 of file zend_execute.c.
ZEND_API zend_result zend_eval_string | ( | const char * | str, |
zval * | retval_ptr, | ||
const char * | string_name ) |
Definition at line 1387 of file zend_execute_API.c.
ZEND_API zend_result zend_eval_string_ex | ( | const char * | str, |
zval * | retval_ptr, | ||
const char * | string_name, | ||
bool | handle_exceptions ) |
Definition at line 1405 of file zend_execute_API.c.
ZEND_API zend_result zend_eval_stringl | ( | const char * | str, |
size_t | str_len, | ||
zval * | retval_ptr, | ||
const char * | string_name ) |
Definition at line 1325 of file zend_execute_API.c.
ZEND_API zend_result zend_eval_stringl_ex | ( | const char * | str, |
size_t | str_len, | ||
zval * | retval_ptr, | ||
const char * | string_name, | ||
bool | handle_exceptions ) |
Definition at line 1393 of file zend_execute_API.c.
ZEND_API void zend_execute | ( | zend_op_array * | op_array, |
zval * | return_value ) |
Definition at line 64239 of file zend_vm_execute.h.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_false_to_array_deprecated | ( | void | ) |
Definition at line 1929 of file zend_execute.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_fcall_interrupt | ( | zend_execute_data * | call | ) |
Definition at line 4081 of file zend_execute.c.
ZEND_API zend_class_entry * zend_fetch_class | ( | zend_string * | class_name, |
uint32_t | fetch_type ) |
Definition at line 1700 of file zend_execute_API.c.
ZEND_API zend_class_entry * zend_fetch_class_by_name | ( | zend_string * | class_name, |
zend_string * | lcname, | ||
uint32_t | fetch_type ) |
Definition at line 1781 of file zend_execute_API.c.
ZEND_API zend_class_entry * zend_fetch_class_with_scope | ( | zend_string * | class_name, |
uint32_t | fetch_type, | ||
zend_class_entry * | scope ) |
Definition at line 1748 of file zend_execute_API.c.
Definition at line 3098 of file zend_execute.c.
ZEND_API zend_function *ZEND_FASTCALL zend_fetch_function | ( | zend_string * | name | ) |
Definition at line 4252 of file zend_execute.c.
ZEND_API zend_function *ZEND_FASTCALL zend_fetch_function_str | ( | const char * | name, |
size_t | len ) |
Definition at line 4267 of file zend_execute.c.
ZEND_API void zend_frameless_observed_call | ( | zend_execute_data * | execute_data | ) |
Definition at line 1594 of file zend_execute.c.
ZEND_API void ZEND_FASTCALL zend_free_compiled_variables | ( | zend_execute_data * | execute_data | ) |
Definition at line 4075 of file zend_execute.c.
ZEND_API void ZEND_FASTCALL zend_free_extra_named_params | ( | zend_array * | extra_named_params | ) |
Definition at line 5474 of file zend_execute.c.
Definition at line 242 of file zend_execute.c.
ZEND_API zend_class_entry * zend_get_called_scope | ( | zend_execute_data * | ex | ) |
Definition at line 1291 of file zend_execute_API.c.
ZEND_API zval * zend_get_compiled_variable_value | ( | const zend_execute_data * | execute_data_ptr, |
uint32_t | var ) |
Definition at line 237 of file zend_execute.c.
Definition at line 646 of file zend_execute_API.c.
ZEND_API zend_string * zend_get_executed_filename_ex | ( | void | ) |
Definition at line 653 of file zend_execute_API.c.
Definition at line 673 of file zend_execute_API.c.
ZEND_API zend_class_entry * zend_get_executed_scope | ( | void | ) |
Definition at line 701 of file zend_execute_API.c.
ZEND_API zend_object * zend_get_this_object | ( | zend_execute_data * | ex | ) |
Definition at line 1309 of file zend_execute_API.c.
ZEND_API user_opcode_handler_t zend_get_user_opcode_handler | ( | uint8_t | opcode | ) |
ZEND_API zval * zend_get_zval_ptr | ( | const zend_op * | opline, |
int | op_type, | ||
const znode_op * | node, | ||
const zend_execute_data * | execute_data ) |
Definition at line 5705 of file zend_execute.c.
zval *ZEND_FASTCALL zend_handle_named_arg | ( | zend_execute_data ** | call_ptr, |
zend_string * | arg_name, | ||
uint32_t * | arg_num_ptr, | ||
void ** | cache_slot ) |
Definition at line 5290 of file zend_execute.c.
ZEND_API zend_result ZEND_FASTCALL zend_handle_undef_args | ( | zend_execute_data * | call | ) |
Definition at line 5369 of file zend_execute.c.
ZEND_API void zend_init_code_execute_data | ( | zend_execute_data * | execute_data, |
zend_op_array * | op_array, | ||
zval * | return_value ) |
Definition at line 4345 of file zend_execute.c.
ZEND_API void zend_init_execute_data | ( | zend_execute_data * | execute_data, |
zend_op_array * | op_array, | ||
zval * | return_value ) |
Definition at line 4352 of file zend_execute.c.
ZEND_API void zend_init_func_execute_data | ( | zend_execute_data * | execute_data, |
zend_op_array * | op_array, | ||
zval * | return_value ) |
Definition at line 4315 of file zend_execute.c.
ZEND_API void ZEND_FASTCALL zend_init_func_run_time_cache | ( | zend_op_array * | op_array | ) |
Definition at line 4282 of file zend_execute.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_invalid_class_constant_type_error | ( | uint8_t | type | ) |
Definition at line 910 of file zend_execute.c.
Definition at line 716 of file zend_execute_API.c.
ZEND_API bool zend_is_valid_class_name | ( | zend_string * | name | ) |
Definition at line 1151 of file zend_execute_API.c.
ZEND_API zend_class_entry * zend_lookup_class | ( | zend_string * | name | ) |
Definition at line 1285 of file zend_execute_API.c.
ZEND_API zend_class_entry * zend_lookup_class_ex | ( | zend_string * | name, |
zend_string * | lcname, | ||
uint32_t | flags ) |
Definition at line 1161 of file zend_execute_API.c.
ZEND_COLD void zend_magic_get_property_type_inconsistency_error | ( | const zend_property_info * | info, |
const zval * | property ) |
Definition at line 858 of file zend_execute.c.
Definition at line 875 of file zend_execute.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_missing_arg_error | ( | zend_execute_data * | execute_data | ) |
Definition at line 1413 of file zend_execute.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_object_released_while_assigning_to_property_error | ( | const zend_property_info * | info | ) |
Definition at line 915 of file zend_execute.c.
ZEND_COLD void ZEND_FASTCALL zend_param_must_be_ref | ( | const zend_function * | func, |
uint32_t | arg_num ) |
Definition at line 2468 of file zend_execute.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_readonly_property_indirect_modification_error | ( | const zend_property_info * | info | ) |
Definition at line 904 of file zend_execute.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_readonly_property_modification_error | ( | const zend_property_info * | info | ) |
Definition at line 893 of file zend_execute.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_readonly_property_modification_error_ex | ( | const char * | class_name, |
const char * | prop_name ) |
Definition at line 899 of file zend_execute.c.
ZEND_API void ZEND_FASTCALL zend_ref_add_type_source | ( | zend_property_info_source_list * | source_list, |
zend_property_info * | prop ) |
Definition at line 3908 of file zend_execute.c.
ZEND_API void ZEND_FASTCALL zend_ref_del_type_source | ( | zend_property_info_source_list * | source_list, |
const zend_property_info * | prop ) |
Definition at line 3931 of file zend_execute.c.
Definition at line 1638 of file zend_execute_API.c.
ZEND_API zend_result zend_set_user_opcode_handler | ( | uint8_t | opcode, |
user_opcode_handler_t | handler ) |
Definition at line 273 of file zend_execute_API.c.
ZEND_STATIC_ASSERT | ( | ZEND_MM_ALIGNED_SIZE(sizeof(zval)) | = =sizeof(zval), |
"zval must be aligned by ZEND_MM_ALIGNMENT" | ) |
ZEND_API ZEND_COLD void zend_throw_ref_type_error_type | ( | const zend_property_info * | prop1, |
const zend_property_info * | prop2, | ||
const zval * | zv ) |
Definition at line 3658 of file zend_execute.c.
ZEND_API ZEND_COLD void zend_throw_ref_type_error_zval | ( | const zend_property_info * | prop, |
const zval * | zv ) |
Definition at line 3674 of file zend_execute.c.
ZEND_API ZEND_NORETURN void ZEND_FASTCALL zend_timeout | ( | void | ) |
Definition at line 1413 of file zend_execute_API.c.
ZEND_API ZEND_COLD zval *ZEND_FASTCALL zend_undefined_index_write | ( | HashTable * | ht, |
zend_string * | offset ) |
Definition at line 2423 of file zend_execute.c.
ZEND_API ZEND_COLD zval *ZEND_FASTCALL zend_undefined_offset_write | ( | HashTable * | ht, |
zend_long | lval ) |
Definition at line 2403 of file zend_execute.c.
ZEND_API void zend_unfinished_calls_gc | ( | zend_execute_data * | execute_data, |
zend_execute_data * | call, | ||
uint32_t | op_num, | ||
zend_get_gc_buffer * | buf ) |
Definition at line 4408 of file zend_execute.c.
ZEND_API ZEND_ATTRIBUTE_DEPRECATED HashTable * zend_unfinished_execution_gc | ( | zend_execute_data * | execute_data, |
zend_execute_data * | call, | ||
zend_get_gc_buffer * | gc_buffer ) |
Definition at line 4752 of file zend_execute.c.
ZEND_API HashTable * zend_unfinished_execution_gc_ex | ( | zend_execute_data * | execute_data, |
zend_execute_data * | call, | ||
zend_get_gc_buffer * | gc_buffer, | ||
bool | suspended_by_yield ) |
Definition at line 4757 of file zend_execute.c.
Definition at line 1647 of file zend_execute_API.c.
ZEND_API ZEND_COLD void ZEND_FASTCALL zend_use_resource_as_offset | ( | const zval * | dim | ) |
Definition at line 2493 of file zend_execute.c.
ZEND_API ZEND_COLD void zend_verify_arg_error | ( | const zend_function * | zf, |
const zend_arg_info * | arg_info, | ||
uint32_t | arg_num, | ||
zval * | value ) |
Definition at line 698 of file zend_execute.c.
ZEND_API bool zend_verify_class_constant_type | ( | zend_class_constant * | c, |
const zend_string * | name, | ||
zval * | constant ) |
Definition at line 1541 of file zend_execute.c.
ZEND_COLD void zend_verify_class_constant_type_error | ( | const zend_class_constant * | c, |
const zend_string * | name, | ||
const zval * | constant ) |
Definition at line 830 of file zend_execute.c.
ZEND_API ZEND_COLD void zend_verify_never_error | ( | const zend_function * | zf | ) |
Definition at line 1454 of file zend_execute.c.
ZEND_API bool ZEND_FASTCALL zend_verify_prop_assignable_by_ref | ( | const zend_property_info * | prop_info, |
zval * | orig_val, | ||
bool | strict ) |
Definition at line 3904 of file zend_execute.c.
ZEND_API bool ZEND_FASTCALL zend_verify_prop_assignable_by_ref_ex | ( | const zend_property_info * | prop_info, |
zval * | orig_val, | ||
bool | strict, | ||
zend_verify_prop_assignable_by_ref_context | context ) |
Definition at line 3863 of file zend_execute.c.
ZEND_API bool zend_verify_property_type | ( | const zend_property_info * | info, |
zval * | property, | ||
bool | strict ) |
Definition at line 1056 of file zend_execute.c.
ZEND_COLD void zend_verify_property_type_error | ( | const zend_property_info * | info, |
const zval * | property ) |
Definition at line 840 of file zend_execute.c.
ZEND_API bool zend_verify_ref_array_assignable | ( | zend_reference * | ref | ) |
Definition at line 3284 of file zend_execute.c.
ZEND_API bool ZEND_FASTCALL zend_verify_ref_assignable_zval | ( | zend_reference * | ref, |
zval * | zv, | ||
bool | strict ) |
Definition at line 3743 of file zend_execute.c.
ZEND_API ZEND_COLD void zend_verify_return_error | ( | const zend_function * | zf, |
zval * | value ) |
Definition at line 1438 of file zend_execute.c.
ZEND_API bool zend_verify_scalar_type_hint | ( | uint32_t | type_mask, |
zval * | arg, | ||
bool | strict, | ||
bool | is_internal_arg ) |
Definition at line 809 of file zend_execute.c.
zend_execute_data * zend_vm_stack_copy_call_frame | ( | zend_execute_data * | call, |
uint32_t | passed_args, | ||
uint32_t | additional_args ) |
Definition at line 4362 of file zend_execute.c.
Definition at line 209 of file zend_execute.c.
Definition at line 220 of file zend_execute.c.
Definition at line 191 of file zend_execute.c.
Definition at line 199 of file zend_execute.c.
Definition at line 1772 of file zend_execute.c.
ZEND_API zend_result ZEND_FASTCALL zval_update_constant | ( | zval * | pp | ) |
Definition at line 769 of file zend_execute_API.c.
ZEND_API zend_result ZEND_FASTCALL zval_update_constant_ex | ( | zval * | pp, |
zend_class_entry * | scope ) |
Definition at line 763 of file zend_execute_API.c.
ZEND_API zend_result ZEND_FASTCALL zval_update_constant_with_ctx | ( | zval * | pp, |
zend_class_entry * | scope, | ||
zend_ast_evaluate_ctx * | ctx ) |
Definition at line 722 of file zend_execute_API.c.
|
extern |
Definition at line 54 of file zend_execute_API.c.
|
extern |
Definition at line 52 of file zend_execute_API.c.
|
extern |
Definition at line 53 of file zend_execute_API.c.
|
extern |
Definition at line 141 of file zend_execute.c.