/PHP-8.3/main/ |
H A D | php_variables.c | 61 HashTable *symbol_table = NULL; in php_register_known_variable() local 67 symbol_table = Z_ARRVAL_P(track_vars_array); in php_register_known_variable() 86 Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE]) != symbol_table); in php_register_known_variable() 89 php_register_variable_quick(var_name, var_name_len, value, symbol_table); in php_register_known_variable() 169 && ex->symbol_table == symtable1) { in php_register_variable_ex() 184 if (symtable1 == &EG(symbol_table) && in php_register_variable_ex() 707 zend_hash_update(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_ARGV), &arr); in php_build_argv() 708 zend_hash_update(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_ARGC), &argc); in php_build_argv() 763 int globals_check = (dest == (&EG(symbol_table))); in php_autoglobal_merge() 809 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get() [all …]
|
/PHP-8.3/Zend/ |
H A D | zend_execute_API.c | 1758 zend_array *symbol_table; in zend_rebuild_symbol_table() local 1769 return ex->symbol_table; in zend_rebuild_symbol_table() 1774 symbol_table = ex->symbol_table = *(--EG(symtable_cache_ptr)); in zend_rebuild_symbol_table() 1776 return symbol_table; in zend_rebuild_symbol_table() 1780 symbol_table = ex->symbol_table = zend_new_array(ex->func->op_array.last_var); in zend_rebuild_symbol_table() 1782 return symbol_table; in zend_rebuild_symbol_table() 1784 zend_hash_real_init_mixed(symbol_table); in zend_rebuild_symbol_table() 1798 return symbol_table; in zend_rebuild_symbol_table() 1805 HashTable *ht = execute_data->symbol_table; in zend_attach_symbol_table() 1891 if (symbol_table) { in zend_set_local_var() [all …]
|
H A D | zend_vm_execute.skl | 62 execute_data->symbol_table = zend_rebuild_symbol_table(); 64 execute_data->symbol_table = &EG(symbol_table);
|
H A D | zend_globals.h | 173 zend_array symbol_table; /* main symbol table */ member
|
H A D | zend_builtin_functions.c | 1346 zend_array *symbol_table; in ZEND_FUNCTION() local 1354 symbol_table = zend_rebuild_symbol_table(); in ZEND_FUNCTION() 1355 if (UNEXPECTED(symbol_table == NULL)) { in ZEND_FUNCTION() 1359 RETURN_ARR(zend_array_dup(symbol_table)); in ZEND_FUNCTION() 1574 zval *arg = zend_hash_find_ex_ind(call->symbol_table, arg_name, 1); in debug_backtrace_get_args()
|
H A D | zend_execute.c | 2188 ht = &EG(symbol_table); in zend_get_target_symbol_table() 2194 ht = EX(symbol_table); in zend_get_target_symbol_table() 3830 zend_hash_apply(&EG(symbol_table), zend_check_symbol); \ 3831 if (&EG(symbol_table)!=EX(symbol_table)) { \ 3832 zend_hash_apply(EX(symbol_table), zend_check_symbol); \ 3864 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table) /* {{{ */ in zend_clean_and_cache_symbol_table() argument 3869 zend_symtable_clean(symbol_table); in zend_clean_and_cache_symbol_table() 3871 zend_array_destroy(symbol_table); in zend_clean_and_cache_symbol_table() 3873 *(EG(symtable_cache_ptr)++) = symbol_table; in zend_clean_and_cache_symbol_table() 4644 return execute_data->symbol_table; in zend_unfinished_execution_gc_ex()
|
H A D | zend_vm_def.h | 2888 zend_clean_and_cache_symbol_table(EX(symbol_table)); in ZEND_VM_HOT_HELPER() 2951 zend_clean_and_cache_symbol_table(EX(symbol_table)); in ZEND_VM_HOT_HELPER() 2963 zend_array *symbol_table = EX(symbol_table); in ZEND_VM_HOT_HELPER() local 2973 if (old_execute_data->symbol_table == symbol_table) { in ZEND_VM_HOT_HELPER() 6436 call->symbol_table = EX(symbol_table); 6438 call->symbol_table = zend_rebuild_symbol_table(); 6603 ZEND_ASSERT(ht != &EG(symbol_table)); 8514 Bucket *p = (Bucket*)((char*)EG(symbol_table).arData + idx); 8526 value = zend_hash_find_known_hash(&EG(symbol_table), varname); 8529 idx = (char*)value - (char*)EG(symbol_table).arData; [all …]
|
H A D | zend_gc.c | 916 ZEND_ASSERT((zend_array*)ref != &EG(symbol_table)); in gc_scan_black() 1091 ZEND_ASSERT(((zend_array*)ref) != &EG(symbol_table)); in gc_mark_grey() 1303 ZEND_ASSERT(ht != &EG(symbol_table)); in gc_scan()
|
H A D | zend_execute.h | 414 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table);
|
H A D | zend_compile.h | 551 zend_array *symbol_table; member
|
H A D | zend_generators.c | 144 zend_clean_and_cache_symbol_table(execute_data->symbol_table); in zend_generator_close()
|
/PHP-8.3/ext/standard/ |
H A D | array.c | 1876 zend_hash_add_new(symbol_table, var_name, entry); 1921 zend_hash_add_new(symbol_table, var_name, entry); 2111 zend_hash_add_new(symbol_table, var_name, entry); 2180 zend_hash_add_new(symbol_table, var_name, entry); 2327 zend_hash_add_new(symbol_table, Z_STR(final_name), entry); 2432 zend_hash_add_new(symbol_table, var_name, entry); 2472 zend_hash_add_new(symbol_table, var_name, entry); 2489 zend_array *symbol_table; local 2525 symbol_table = zend_rebuild_symbol_table(); 2631 zend_array *symbol_table; local [all …]
|
H A D | info.c | 177 …if ((data = zend_hash_find_deref(&EG(symbol_table), key)) != NULL && (Z_TYPE_P(data) == IS_ARRAY))… in php_print_gpcse_array() 1011 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_SELF", sizeof("PHP_SELF")-1)) != NULL && Z_… in php_print_info() 1014 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_TYPE", sizeof("PHP_AUTH_TYPE")-1)) != … in php_print_info() 1017 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_USER", sizeof("PHP_AUTH_USER")-1)) != … in php_print_info() 1020 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_PW", sizeof("PHP_AUTH_PW")-1)) != NULL… in php_print_info()
|
/PHP-8.3/ext/readline/ |
H A D | readline_cli.c | 453 zend_array *symbol_table = &EG(symbol_table); in cli_completion_generator_var() local 455 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table, NULL); in cli_completion_generator_var()
|
/PHP-8.3/sapi/fpm/fpm/ |
H A D | fpm_php.c | 287 data = zend_hash_find(&EG(symbol_table), table); in fpm_php_is_key_in_table()
|
/PHP-8.3/sapi/cli/ |
H A D | php_cli.c | 1021 zend_hash_str_update(&EG(symbol_table), "argn", sizeof("argn")-1, &argn); in do_cli() 1023 zend_hash_str_update(&EG(symbol_table), "argi", sizeof("argi")-1, &argi); in do_cli()
|
/PHP-8.3/ext/session/ |
H A D | session.c | 241 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in php_session_track_init() 903 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in PS_SERIALIZER_DECODE_FUNC() 1502 (data = zend_hash_str_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE") - 1))) { in php_session_reset_id() 1581 …if (PS(use_cookies) && (data = zend_hash_str_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE") … in php_session_start() 1591 if (!PS(id) && (data = zend_hash_str_find(&EG(symbol_table), "_GET", sizeof("_GET") - 1))) { in php_session_start() 1597 if (!PS(id) && (data = zend_hash_str_find(&EG(symbol_table), "_POST", sizeof("_POST") - 1))) { in php_session_start()
|
/PHP-8.3/sapi/phpdbg/ |
H A D | phpdbg_info.c | 190 symtable = &EG(symbol_table); in phpdbg_print_symbols()
|
H A D | phpdbg_watch.c | 1373 …zend_hash_add(EG(current_execute_data)->symbol_table, ZSTR_KNOWN(ZEND_STR_THIS), &EG(current_execu… 1383 …o_global(input, len) && phpdbg_watchpoint_parse_input(input, len, &EG(symbol_table), 0, &info, 1) … 1388 …ret = phpdbg_parse_variable_with_arg(input, len, EG(current_execute_data)->symbol_table, 0, (phpdb…
|
H A D | phpdbg_prompt.c | 868 zend_hash_clean(ex->symbol_table); in PHPDBG_COMMAND() 955 … phpdbg_parse_variable(param->str, param->len, &EG(symbol_table), 0, phpdbg_output_ev_variable, 0); in PHPDBG_COMMAND()
|
/PHP-8.3/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 1773 if (EXPECTED(idx < EG(symbol_table).nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_global_helper() 1774 Bucket *p = (Bucket*)((char*)EG(symbol_table).arData + idx); in zend_jit_fetch_global_helper() 1786 value = zend_hash_find_known_hash(&EG(symbol_table), varname); in zend_jit_fetch_global_helper() 1788 value = zend_hash_add_new(&EG(symbol_table), varname, &EG(uninitialized_zval)); in zend_jit_fetch_global_helper() 1789 idx = (char*)value - (char*)EG(symbol_table).arData; in zend_jit_fetch_global_helper() 1793 idx = (char*)value - (char*)EG(symbol_table).arData; in zend_jit_fetch_global_helper()
|
H A D | zend_jit_vm_helpers.c | 59 zend_clean_and_cache_symbol_table(EX(symbol_table)); in zend_jit_leave_nested_func_helper() 99 zend_clean_and_cache_symbol_table(EX(symbol_table)); in zend_jit_leave_top_func_helper()
|
H A D | zend_jit_disasm.c | 587 REGISTER_EG(symbol_table);
|
/PHP-8.3/ |
H A D | .gdbinit | 293 set $symtable = ((HashTable *)&($eg_ptr->symbol_table))
|
/PHP-8.3/ext/opcache/ |
H A D | ZendAccelerator.c | 1692 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_SERVER))) { in zend_accel_get_auto_globals() 1695 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_ENV))) { in zend_accel_get_auto_globals() 1698 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_REQUEST))) { in zend_accel_get_auto_globals() 4440 zend_hash_init(&EG(symbol_table), 0, NULL, ZVAL_PTR_DTOR, 0);
|