/php-src/main/ |
H A D | php_variables.c | 62 HashTable *symbol_table = NULL; in php_register_known_variable() local 68 symbol_table = Z_ARRVAL_P(track_vars_array); in php_register_known_variable() 87 Z_ARRVAL(PG(http_globals)[TRACK_VARS_COOKIE]) != symbol_table); in php_register_known_variable() 90 php_register_variable_quick(var_name, var_name_len, value, symbol_table); in php_register_known_variable() 170 && ex->symbol_table == symtable1) { in php_register_variable_ex() 185 if (symtable1 == &EG(symbol_table) && in php_register_variable_ex() 703 zend_hash_update(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_ARGV), &arr); in php_build_argv() 704 zend_hash_update(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_ARGC), &argc); in php_build_argv() 759 int globals_check = (dest == (&EG(symbol_table))); in php_autoglobal_merge() 805 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get() [all …]
|
/php-src/Zend/ |
H A D | zend_execute_API.c | 1804 zend_array *symbol_table; in zend_rebuild_symbol_table() local 1815 return ex->symbol_table; in zend_rebuild_symbol_table() 1820 symbol_table = ex->symbol_table = *(--EG(symtable_cache_ptr)); in zend_rebuild_symbol_table() 1822 return symbol_table; in zend_rebuild_symbol_table() 1826 symbol_table = ex->symbol_table = zend_new_array(ex->func->op_array.last_var); in zend_rebuild_symbol_table() 1828 return symbol_table; in zend_rebuild_symbol_table() 1830 zend_hash_real_init_mixed(symbol_table); in zend_rebuild_symbol_table() 1844 return symbol_table; in zend_rebuild_symbol_table() 1851 HashTable *ht = execute_data->symbol_table; in zend_attach_symbol_table() 1937 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 | 178 zend_array symbol_table; /* main symbol table */ member
|
H A D | zend_builtin_functions.c | 1462 zend_array *symbol_table; in ZEND_FUNCTION() local 1470 symbol_table = zend_rebuild_symbol_table(); in ZEND_FUNCTION() 1471 if (UNEXPECTED(symbol_table == NULL)) { in ZEND_FUNCTION() 1475 RETURN_ARR(zend_array_dup(symbol_table)); in ZEND_FUNCTION() 1690 zval *arg = zend_hash_find_ex_ind(call->symbol_table, arg_name, 1); in debug_backtrace_get_args()
|
H A D | zend_execute.c | 2379 ht = &EG(symbol_table); in zend_get_target_symbol_table() 2385 ht = EX(symbol_table); in zend_get_target_symbol_table() 4052 zend_hash_apply(&EG(symbol_table), zend_check_symbol); \ 4053 if (&EG(symbol_table)!=EX(symbol_table)) { \ 4054 zend_hash_apply(EX(symbol_table), zend_check_symbol); \ 4086 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table) /* {{{ */ in zend_clean_and_cache_symbol_table() argument 4091 zend_symtable_clean(symbol_table); in zend_clean_and_cache_symbol_table() 4093 zend_array_destroy(symbol_table); in zend_clean_and_cache_symbol_table() 4095 *(EG(symtable_cache_ptr)++) = symbol_table; in zend_clean_and_cache_symbol_table() 4866 return execute_data->symbol_table; in zend_unfinished_execution_gc_ex()
|
H A D | zend_vm_def.h | 2956 zend_clean_and_cache_symbol_table(EX(symbol_table)); in ZEND_VM_HOT_HELPER() 3019 zend_clean_and_cache_symbol_table(EX(symbol_table)); in ZEND_VM_HOT_HELPER() 3031 zend_array *symbol_table = EX(symbol_table); in ZEND_VM_HOT_HELPER() local 3041 if (old_execute_data->symbol_table == symbol_table) { in ZEND_VM_HOT_HELPER() 6546 call->symbol_table = EX(symbol_table); 6548 call->symbol_table = zend_rebuild_symbol_table(); 6713 ZEND_ASSERT(ht != &EG(symbol_table)); 8601 Bucket *p = (Bucket*)((char*)EG(symbol_table).arData + idx); 8613 value = zend_hash_find_known_hash(&EG(symbol_table), varname); 8616 idx = (char*)value - (char*)EG(symbol_table).arData; [all …]
|
H A D | zend_gc.c | 936 ZEND_ASSERT((zend_array*)ref != &EG(symbol_table)); in gc_scan_black() 1111 ZEND_ASSERT(((zend_array*)ref) != &EG(symbol_table)); in gc_mark_grey() 1323 ZEND_ASSERT(ht != &EG(symbol_table)); in gc_scan()
|
H A D | zend_execute.h | 432 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table);
|
H A D | zend_compile.h | 620 zend_array *symbol_table; member
|
H A D | zend_generators.c | 143 zend_clean_and_cache_symbol_table(execute_data->symbol_table); in zend_generator_close()
|
/php-src/ext/standard/ |
H A D | array.c | 1983 zend_hash_add_new(symbol_table, var_name, entry); 2028 zend_hash_add_new(symbol_table, var_name, entry); 2218 zend_hash_add_new(symbol_table, var_name, entry); 2287 zend_hash_add_new(symbol_table, var_name, entry); 2434 zend_hash_add_new(symbol_table, Z_STR(final_name), entry); 2539 zend_hash_add_new(symbol_table, var_name, entry); 2579 zend_hash_add_new(symbol_table, var_name, entry); 2596 zend_array *symbol_table; local 2632 symbol_table = zend_rebuild_symbol_table(); 2738 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() 996 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_SELF", sizeof("PHP_SELF")-1)) != NULL && Z_… in php_print_info() 999 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_TYPE", sizeof("PHP_AUTH_TYPE")-1)) != … in php_print_info() 1002 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_USER", sizeof("PHP_AUTH_USER")-1)) != … in php_print_info() 1005 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_PW", sizeof("PHP_AUTH_PW")-1)) != NULL… in php_print_info()
|
H A D | url_scanner_ex.re | 364 if ((tmp = zend_hash_find(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_SERVER))) &&
|
/php-src/ext/readline/ |
H A D | readline_cli.c | 446 zend_array *symbol_table = &EG(symbol_table); in cli_completion_generator_var() local 448 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table, NULL); in cli_completion_generator_var()
|
/php-src/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-src/sapi/cli/ |
H A D | php_cli.c | 993 zend_hash_str_update(&EG(symbol_table), "argn", sizeof("argn")-1, &argn); in do_cli() 995 zend_hash_str_update(&EG(symbol_table), "argi", sizeof("argi")-1, &argi); in do_cli()
|
/php-src/ext/session/ |
H A D | session.c | 272 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in php_session_track_init() 1003 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in PS_SERIALIZER_DECODE_FUNC() 1594 (data = zend_hash_str_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE") - 1))) { in php_session_reset_id() 1666 …if (PS(use_cookies) && (data = zend_hash_str_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE") … in php_session_start() 1676 if (!PS(id) && (data = zend_hash_str_find(&EG(symbol_table), "_GET", sizeof("_GET") - 1))) { in php_session_start() 1682 if (!PS(id) && (data = zend_hash_str_find(&EG(symbol_table), "_POST", sizeof("_POST") - 1))) { in php_session_start()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_info.c | 190 symtable = &EG(symbol_table); in phpdbg_print_symbols()
|
H A D | phpdbg_watch.c | 1370 …zend_hash_add(EG(current_execute_data)->symbol_table, ZSTR_KNOWN(ZEND_STR_THIS), &EG(current_execu… 1380 …o_global(input, len) && phpdbg_watchpoint_parse_input(input, len, &EG(symbol_table), 0, &info, 1) … 1385 …ret = phpdbg_parse_variable_with_arg(input, len, EG(current_execute_data)->symbol_table, 0, (phpdb…
|
H A D | phpdbg_prompt.c | 866 zend_hash_clean(ex->symbol_table); in PHPDBG_COMMAND() 953 … phpdbg_parse_variable(param->str, param->len, &EG(symbol_table), 0, phpdbg_output_ev_variable, 0); in PHPDBG_COMMAND()
|
/php-src/ext/opcache/jit/ |
H A D | zend_jit_helpers.c | 1860 if (EXPECTED(idx < EG(symbol_table).nNumUsed * sizeof(Bucket))) { in zend_jit_fetch_global_helper() 1861 Bucket *p = (Bucket*)((char*)EG(symbol_table).arData + idx); in zend_jit_fetch_global_helper() 1873 value = zend_hash_find_known_hash(&EG(symbol_table), varname); in zend_jit_fetch_global_helper() 1875 value = zend_hash_add_new(&EG(symbol_table), varname, &EG(uninitialized_zval)); in zend_jit_fetch_global_helper() 1876 idx = (char*)value - (char*)EG(symbol_table).arData; in zend_jit_fetch_global_helper() 1880 idx = (char*)value - (char*)EG(symbol_table).arData; in zend_jit_fetch_global_helper()
|
H A D | zend_jit_vm_helpers.c | 54 zend_clean_and_cache_symbol_table(EX(symbol_table)); in zend_jit_leave_nested_func_helper() 94 zend_clean_and_cache_symbol_table(EX(symbol_table)); in zend_jit_leave_top_func_helper()
|
/php-src/ |
H A D | .gdbinit | 293 set $symtable = ((HashTable *)&($eg_ptr->symbol_table))
|
/php-src/ext/opcache/ |
H A D | ZendAccelerator.c | 1697 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_SERVER))) { in zend_accel_get_auto_globals() 1700 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_ENV))) { in zend_accel_get_auto_globals() 1703 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_REQUEST))) { in zend_accel_get_auto_globals() 4527 zend_hash_init(&EG(symbol_table), 0, NULL, ZVAL_PTR_DTOR, 0);
|