Home
last modified time | relevance | path

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

123

/PHP-7.0/Zend/
H A Dzend_vm_execute.skl34 execute_data->symbol_table = zend_rebuild_symbol_table();
36 execute_data->symbol_table = &EG(symbol_table);
H A Dzend_execute_API.c673 fci.symbol_table = symbol_table; in call_user_function_ex()
862 call->symbol_table = fci->symbol_table; in zend_call_function()
1479 zend_array *symbol_table; in zend_rebuild_symbol_table() local
1489 if (ex->symbol_table) { in zend_rebuild_symbol_table()
1495 symbol_table = ex->symbol_table = *(EG(symtable_cache_ptr)--); in zend_rebuild_symbol_table()
1497 return symbol_table; in zend_rebuild_symbol_table()
1501 symbol_table = ex->symbol_table = emalloc(sizeof(zend_array)); in zend_rebuild_symbol_table()
1504 return symbol_table; in zend_rebuild_symbol_table()
1520 return symbol_table; in zend_rebuild_symbol_table()
1614 if (symbol_table) { in zend_set_local_var()
[all …]
H A Dzend_variables.c273 zend_array *symbol_table; in zval_copy_static_var() local
281 symbol_table = zend_rebuild_symbol_table(); in zval_copy_static_var()
282 p = zend_hash_find(symbol_table, key->key); in zval_copy_static_var()
288 zend_hash_add_new(symbol_table, key->key, &tmp); in zval_copy_static_var()
H A Dzend_globals.h146 zend_array symbol_table; /* main symbol table */ member
H A Dzend_execute.c1527 ht = &EG(symbol_table); in zend_get_target_symbol_table()
1539 if (!EX(symbol_table)) { in zend_get_target_symbol_table()
1542 ht = EX(symbol_table); in zend_get_target_symbol_table()
2013 zend_hash_apply(&EG(symbol_table), zend_check_symbol); \
2014 if (&EG(symbol_table)!=EX(symbol_table)) { \
2015 zend_hash_apply(EX(symbol_table), zend_check_symbol); \
2052 zend_array_destroy(symbol_table); in zend_clean_and_cache_symbol_table()
2056 zend_symtable_clean(symbol_table); in zend_clean_and_cache_symbol_table()
2057 *(++EG(symtable_cache_ptr)) = symbol_table; in zend_clean_and_cache_symbol_table()
2230 if (UNEXPECTED(EX(symbol_table) != NULL)) { in i_init_execute_data()
[all …]
H A Dzend.c629 ZVAL_ARR(&globals, &EG(symbol_table)); in php_auto_globals_create_globals()
632 zend_hash_update(&EG(symbol_table), name, &globals); in php_auto_globals_create_globals()
1070 zend_array *symbol_table; in zend_error() local
1214 symbol_table = zend_rebuild_symbol_table(); in zend_error()
1217 if (!symbol_table) { in zend_error()
1220 ZVAL_ARR(&params[4], zend_array_dup(symbol_table)); in zend_error()
H A Dzend_vm_def.h2380 if (UNEXPECTED(EX(symbol_table) != NULL)) {
2450 zend_array *symbol_table = EX(symbol_table); local
2456 if (old_execute_data->symbol_table == symbol_table) {
3629 call->symbol_table = NULL;
3666 call->symbol_table = NULL;
3788 call->symbol_table = NULL;
5521 if (EX(symbol_table)) {
5522 call->symbol_table = EX(symbol_table);
5671 if (ht == &EG(symbol_table)) {
7684 Bucket *p = EG(symbol_table).arData + idx;
[all …]
H A Dzend_gc.c369 if ((zend_array*)ref != &EG(symbol_table)) { in gc_scan_black()
474 if (((zend_array*)ref) == &EG(symbol_table)) { in gc_mark_grey()
600 if ((zend_array*)ref == &EG(symbol_table)) { in gc_scan()
H A Dzend_execute.h323 ZEND_API void zend_clean_and_cache_symbol_table(zend_array *symbol_table);
/PHP-7.0/main/
H A Dphp_variables.c113 if (symtable1 == &EG(symbol_table) && in php_register_variable_ex()
585 zend_hash_str_update(&EG(symbol_table), "argv", sizeof("argv")-1, &arr); in php_build_argv()
586 zend_hash_str_add(&EG(symbol_table), "argc", sizeof("argc")-1, &argc); in php_build_argv()
637 int globals_check = (dest == (&EG(symbol_table))); in php_autoglobal_merge()
687 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_GET]); in php_auto_globals_create_get()
706 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_POST]); in php_auto_globals_create_post()
721 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_COOKIE]); in php_auto_globals_create_cookie()
733 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_FILES]); in php_auto_globals_create_files()
781 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_SERVER]); in php_auto_globals_create_server()
797 zend_hash_update(&EG(symbol_table), name, &PG(http_globals)[TRACK_VARS_ENV]); in php_auto_globals_create_env()
[all …]
/PHP-7.0/ext/spl/
H A Dspl_engine.h68 fci.symbol_table = NULL; in spl_instantiate_arg_n()
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg_wait.c31 if ((zvp = zend_hash_str_find(&EG(symbol_table), name, strlen(name)))) { in ZEND_EXTERN_MODULE_GLOBALS()
158 zend_hash_clean(&EG(symbol_table)); in phpdbg_webdata_decompress()
159 EG(symbol_table) = *Z_ARR_P(zvp); in phpdbg_webdata_decompress()
H A Dphpdbg_webdata_transfer.c46 zend_hash_copy(Z_ARRVAL(zv[1]), &EG(symbol_table), NULL); in phpdbg_webdata_compress()
H A Dphpdbg_watch.c684 …zend_hash_str_add(EG(current_execute_data)->symbol_table, ZEND_STRL("this"), &EG(current_execute_d… in phpdbg_watchpoint_parse_symtables()
687 …o_global(input, len) && phpdbg_watchpoint_parse_input(input, len, &EG(symbol_table), 0, callback, … in phpdbg_watchpoint_parse_symtables()
691 …return phpdbg_parse_variable_with_arg(input, len, EG(current_execute_data)->symbol_table, 0, (phpd… in phpdbg_watchpoint_parse_symtables()
801 …return phpdbg_watchpoint_parse_input(input, len, EG(current_execute_data)->symbol_table, 0, phpdbg… in phpdbg_delete_var_watchpoint()
H A Dphpdbg_prompt.c128 fci.symbol_table = NULL; in phpdbg_call_register()
923 if (ex && ex->symbol_table) { in PHPDBG_COMMAND()
924 zend_hash_clean(ex->symbol_table); in PHPDBG_COMMAND()
1017 … phpdbg_parse_variable(param->str, param->len, &EG(symbol_table), 0, phpdbg_output_ev_variable, 0); in PHPDBG_COMMAND()
H A Dphpdbg_info.c190 symtable = &EG(symbol_table); in phpdbg_print_symbols()
/PHP-7.0/ext/readline/
H A Dreadline_cli.c435 zend_array *symbol_table = &EG(symbol_table); in cli_completion_generator_var() local
437 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table, NULL); in cli_completion_generator_var()
/PHP-7.0/ext/standard/
H A Dinfo.c204 if ((data = zend_hash_find(&EG(symbol_table), key)) != NULL && (Z_TYPE_P(data) == IS_ARRAY)) { in php_print_gpcse_array()
1029 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_SELF", sizeof("PHP_SELF")-1)) != NULL && Z_… in php_print_info()
1032 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_TYPE", sizeof("PHP_AUTH_TYPE")-1)) != … in php_print_info()
1035 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_USER", sizeof("PHP_AUTH_USER")-1)) != … in php_print_info()
1038 …if ((data = zend_hash_str_find(&EG(symbol_table), "PHP_AUTH_PW", sizeof("PHP_AUTH_PW")-1)) != NULL… in php_print_info()
H A Darray.c1709 zend_array *symbol_table; local
1743 symbol_table = zend_rebuild_symbol_table();
1745 if (!symbol_table) {
1898 zend_array *symbol_table; local
1904 symbol_table = zend_rebuild_symbol_table();
1906 if (UNEXPECTED(symbol_table == NULL)) {
1920 php_compact_var(symbol_table, return_value, &args[i]);
2417 if (in_hash == &EG(symbol_table)) {
2434 if (in_hash == &EG(symbol_table)) {
2563 if (Z_ARRVAL_P(stack) == &EG(symbol_table)) {
[all …]
H A Dhttp_fopen_wrapper.c146 zend_array *symbol_table; in php_stream_url_wrap_http_ex() local
662 symbol_table = zend_rebuild_symbol_table(); in php_stream_url_wrap_http_ex()
671 …zval *response_header_ptr = zend_hash_str_find_ind(symbol_table, "http_response_header", sizeof("h… in php_stream_url_wrap_http_ex()
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_php.c272 data = zend_hash_find(&EG(symbol_table), table); in fpm_php_get_string_from_table()
/PHP-7.0/ext/session/
H A Dsession.c212 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in php_session_track_init()
319 if ((array = zend_hash_str_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER") - 1)) && in php_session_create_id()
930 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in PS_SERIALIZER_DECODE_FUNC()
994 if ((tmp = zend_hash_find(&EG(symbol_table), name))) {
996 Z_ARRVAL_P(tmp) == &EG(symbol_table)) || tmp == &PS(http_session_vars)) {
1094 if ((tmp = zend_hash_find(&EG(symbol_table), name))) {
1096 Z_ARRVAL_P(tmp) == &EG(symbol_table)) || tmp == &PS(http_session_vars)) {
1565 && (data = zend_hash_str_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE") - 1))) {
1632 …if (PS(use_cookies) && (data = zend_hash_str_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE") …
1642 if (!PS(id) && (data = zend_hash_str_find(&EG(symbol_table), "_GET", sizeof("_GET") - 1))) {
[all …]
/PHP-7.0/ext/pdo_sqlite/
H A Dsqlite_driver.c330 fc->fci.symbol_table = NULL; in do_callback()
481 collation->fc.fci.symbol_table = NULL; in php_sqlite3_collation_callback()
/PHP-7.0/ext/opcache/
H A DZendAccelerator.c1408 if (zend_hash_exists(&EG(symbol_table), jit_auto_globals_str[i])) { in zend_accel_get_auto_globals()
1418 if (zend_hash_exists(&EG(symbol_table), jit_auto_globals_str[3])) { in zend_accel_get_auto_globals_no_jit()
2212 if (Z_ARR_P(zvalue) != &EG(symbol_table)) { in accel_fast_zval_dtor()
2278 ZEND_HASH_REVERSE_FOREACH(&EG(symbol_table), 0) { in zend_accel_fast_shutdown()
2282 zend_accel_fast_del_bucket(&EG(symbol_table), HT_IDX_TO_HASH(_idx-1), _p); in zend_accel_fast_shutdown()
2285 zend_hash_init(&EG(symbol_table), 8, NULL, NULL, 0); in zend_accel_fast_shutdown()
2344 zend_hash_init(&EG(symbol_table), 8, NULL, NULL, 0); in zend_accel_fast_shutdown()
/PHP-7.0/sapi/cli/
H A Dphp_cli.c1030 zend_hash_str_update(&EG(symbol_table), "argn", sizeof("argn")-1, &argn); in do_cli()
1032 zend_hash_str_update(&EG(symbol_table), "argi", sizeof("argi")-1, &argi); in do_cli()

Completed in 152 milliseconds

123