Home
last modified time | relevance | path

Searched refs:symbol_table (Results 1 – 25 of 33) sorted by relevance

12

/PHP-8.3/main/
H A Dphp_variables.c61 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 Dzend_execute_API.c1758 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 Dzend_vm_execute.skl62 execute_data->symbol_table = zend_rebuild_symbol_table();
64 execute_data->symbol_table = &EG(symbol_table);
H A Dzend_globals.h173 zend_array symbol_table; /* main symbol table */ member
H A Dzend_builtin_functions.c1346 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 Dzend_execute.c2188 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 Dzend_vm_def.h2888 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 Dzend_gc.c916 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 Dzend_execute.h414 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table);
H A Dzend_compile.h551 zend_array *symbol_table; member
H A Dzend_generators.c144 zend_clean_and_cache_symbol_table(execute_data->symbol_table); in zend_generator_close()
/PHP-8.3/ext/standard/
H A Darray.c1876 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 Dinfo.c177 …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 Dreadline_cli.c453 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 Dfpm_php.c287 data = zend_hash_find(&EG(symbol_table), table); in fpm_php_is_key_in_table()
/PHP-8.3/sapi/cli/
H A Dphp_cli.c1021 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 Dsession.c241 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 Dphpdbg_info.c190 symtable = &EG(symbol_table); in phpdbg_print_symbols()
H A Dphpdbg_watch.c1373 …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 Dphpdbg_prompt.c868 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 Dzend_jit_helpers.c1773 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 Dzend_jit_vm_helpers.c59 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 Dzend_jit_disasm.c587 REGISTER_EG(symbol_table);
/PHP-8.3/
H A D.gdbinit293 set $symtable = ((HashTable *)&($eg_ptr->symbol_table))
/PHP-8.3/ext/opcache/
H A DZendAccelerator.c1692 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);

Completed in 134 milliseconds

12