/PHP-8.3/Zend/ |
H A D | zend_constants.c | 104 EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); in zend_startup_constants() 105 zend_hash_init(EG(zend_constants), 128, NULL, ZEND_CONSTANT_DTOR, 1); in zend_startup_constants() 114 true_const = zend_hash_str_find_ptr(EG(zend_constants), "TRUE", sizeof("TRUE")-1); in zend_register_standard_constants() 116 null_const = zend_hash_str_find_ptr(EG(zend_constants), "NULL", sizeof("NULL")-1); in zend_register_standard_constants() 122 zend_hash_destroy(EG(zend_constants)); in zend_shutdown_constants() 123 free(EG(zend_constants)); in zend_shutdown_constants() 202 c = zend_hash_find_ptr(EG(zend_constants), haltname); in zend_get_halt_offset_constant() 256 zend_constant *c = zend_hash_str_find_ptr(EG(zend_constants), name, name_len); in zend_get_constant_str_impl() 280 zend_constant *c = zend_hash_find_ptr(EG(zend_constants), name); in zend_get_constant_impl() 513 c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len); in zend_get_constant_ex() [all …]
|
H A D | zend.c | 70 # define GLOBAL_CONSTANTS_TABLE EG(zend_constants) 787 zend_copy_constants(executor_globals->zend_constants, GLOBAL_CONSTANTS_TABLE); in executor_globals_ctor() 840 if (executor_globals->zend_constants != GLOBAL_CONSTANTS_TABLE) { in executor_globals_dtor() 841 zend_hash_destroy(executor_globals->zend_constants); in executor_globals_dtor() 842 free(executor_globals->zend_constants); in executor_globals_dtor() 1007 zend_hash_destroy(executor_globals->zend_constants); in zend_startup() 1008 *executor_globals->zend_constants = *GLOBAL_CONSTANTS_TABLE; in zend_startup() 1084 *GLOBAL_CONSTANTS_TABLE = *executor_globals->zend_constants; in zend_post_startup() 1106 free(EG(zend_constants)); in zend_post_startup() 1107 EG(zend_constants) = NULL; in zend_post_startup()
|
H A D | zend_globals.h | 184 HashTable *zend_constants; /* constants table */ member
|
H A D | zend_execute_API.c | 189 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed; in init_executor() 289 zend_hash_reverse_apply(EG(zend_constants), clean_non_persistent_constant_full); in zend_shutdown_executor_values() 291 ZEND_HASH_MAP_REVERSE_FOREACH_STR_KEY_VAL(EG(zend_constants), key, zv) { in zend_shutdown_executor_values() 397 zend_hash_discard(EG(zend_constants), EG(persistent_constants_count)); in zend_shutdown_executor_values()
|
H A D | zend_builtin_functions.c | 1510 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), val) { in ZEND_FUNCTION() 1540 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_FUNCTION()
|
H A D | zend_execute.c | 5012 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant() 5017 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant()
|
H A D | zend_vm_def.h | 8686 } else if (EXPECTED(zend_hash_num_elements(EG(zend_constants)) == DECODE_SPECIAL_CACHE_NUM(c))) { 8692 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants))));
|
H A D | zend_compile.c | 1614 c = zend_hash_find_ptr(EG(zend_constants), name); in zend_try_ct_eval_const()
|
H A D | zend_vm_execute.h | 5716 } else if (EXPECTED(zend_hash_num_elements(EG(zend_constants)) == DECODE_SPECIAL_CACHE_NUM(c))) { in ZEND_DEFINED_SPEC_CONST_HANDLER() 5722 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants)))); in ZEND_DEFINED_SPEC_CONST_HANDLER()
|
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg_info.c | 106 if (EG(zend_constants)) { in PHPDBG_INFO() 108 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), data) { in PHPDBG_INFO()
|
H A D | phpdbg.c | 916 zend_hash_del(EG(zend_constants), ic.name); in phpdbg_register_file_handles() 922 zend_hash_del(EG(zend_constants), oc.name); in phpdbg_register_file_handles() 928 zend_hash_del(EG(zend_constants), ec.name); in phpdbg_register_file_handles() 1015 zend_hash_num_elements(EG(zend_constants)), in phpdbg_welcome()
|
H A D | phpdbg_prompt.c | 1123 phpdbg_writeln("Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND() 1461 phpdbg_writeln("Constants %d", zend_hash_num_elements(EG(zend_constants))); in PHPDBG_COMMAND()
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit_vm_helpers.c | 300 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant() 305 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in _zend_quick_get_constant() 316 …_PTR(opline->extended_value, ENCODE_SPECIAL_CACHE_NUM(zend_hash_num_elements(EG(zend_constants)))); in _zend_quick_get_constant()
|
H A D | zend_jit.c | 623 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in zend_jit_is_persistent_constant() 628 zv = zend_hash_find_known_hash(EG(zend_constants), Z_STR_P(key)); in zend_jit_is_persistent_constant()
|
H A D | zend_jit_x86.dasc | 10991 | MEM_LOAD_ZTS FCARG1a, aword, executor_globals, zend_constants, FCARG1a
|
H A D | zend_jit_arm64.dasc | 10285 | MEM_LOAD_64_ZTS ldr, FCARG1x, executor_globals, zend_constants, FCARG1x
|
/PHP-8.3/ext/opcache/ |
H A D | ZendAccelerator.c | 718 ZEND_HASH_MAP_FOREACH_BUCKET(EG(zend_constants), p) { in accel_copy_permanent_strings() 2129 uint32_t old_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file() 2169 uint32_t new_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file() 2172 zend_hash_index_del(EG(zend_constants), new_const_num); in persistent_compile_file() 3483 if (EG(zend_constants)) { 3484 ZEND_HASH_MAP_REVERSE_FOREACH_VAL(EG(zend_constants), zv) { 4299 if (EG(zend_constants)) { 4300 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed; 4407 if (EG(zend_constants)) { 4438 ZEND_ASSERT(zend_hash_num_elements(EG(zend_constants)) == EG(persistent_constants_count));
|
H A D | zend_accelerator_util_funcs.c | 395 if (!zend_hash_exists(EG(zend_constants), name)) { in zend_accel_load_script()
|
/PHP-8.3/ext/readline/ |
H A D | readline_cli.c | 568 …rator_define(text, textlen, &cli_completion_state, ce ? &ce->constants_table : EG(zend_constants)); in cli_completion_generator()
|
/PHP-8.3/ |
H A D | .gdbinit | 310 Example: print_const_table executor_globals.zend_constants
|
H A D | configure.ac | 1748 zend_alloc.c zend_call_stack.c zend_compile.c zend_constants.c zend_dtrace.c \
|
/PHP-8.3/win32/build/ |
H A D | config.w32 | 232 zend_compile.c zend_constants.c zend_exceptions.c \
|
/PHP-8.3/Zend/Optimizer/ |
H A D | block_pass.c | 35 zend_constant *c = zend_hash_find_ptr(EG(zend_constants), name); in zend_optimizer_get_persistent_constant()
|
/PHP-8.3/ext/reflection/ |
H A D | php_reflection.c | 1057 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), constant) { in _extension_string() 6105 ZEND_HASH_MAP_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_METHOD()
|