Home
last modified time | relevance | path

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

12

/PHP-5.6/Zend/
H A Dzend_gc.c289 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_scan_black()
308 if (Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_scan_black()
314 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_scan_black()
343 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zobj_scan_black()
357 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zobj_scan_black()
413 if (Z_ARRVAL_P(pz) == &EG(symbol_table)) { in zval_mark_grey()
421 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zval_mark_grey()
451 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zobj_mark_grey()
463 if (Z_TYPE_P(pz) != IS_ARRAY || Z_ARRVAL_P(pz) != &EG(symbol_table)) { in zobj_mark_grey()
551 if (Z_ARRVAL_P(pz) == &EG(symbol_table)) { in zval_scan()
[all …]
H A Dzend_execute_API.c159 EG(active_symbol_table) = &EG(symbol_table); in init_executor()
615 fci.symbol_table = symbol_table; in call_user_function_ex()
814 if (fci->symbol_table) { in zend_call_function()
815 EG(active_symbol_table) = fci->symbol_table; in zend_call_function()
994 fcall_info.symbol_table = NULL; in zend_lookup_class_ex()
1499 if (ex->op_array && ex->symbol_table == symbol_table) { in zend_reset_all_cv()
1512 while (ex && ex->symbol_table == ht) { in zend_delete_variable()
1537 if (ex->op_array && ex->symbol_table == &EG(symbol_table)) { in zend_delete_global_variable_ex()
1574 if (ex && ex->symbol_table) { in zend_rebuild_symbol_table()
1575 EG(active_symbol_table) = ex->symbol_table; in zend_rebuild_symbol_table()
[all …]
H A Dzend_variables.c42 if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) { in _zval_dtor_func()
135 if (zvalue->value.ht == &EG(symbol_table)) { in _zval_copy_ctor_func()
H A Dzend_generators.c115 if (!execute_data->symbol_table) { in zend_generator_close()
118 zend_clean_and_cache_symbol_table(execute_data->symbol_table TSRMLS_CC); in zend_generator_close()
311 execute_data->symbol_table = EG(active_symbol_table); in zend_generator_create_zval()
366 EG(active_symbol_table) = generator->execute_data->symbol_table; in zend_generator_resume()
H A Dzend_globals.h185 HashTable symbol_table; /* main symbol table */ member
H A Dzend_execute.c1015 return &EG(symbol_table); in zend_get_target_symbol_table()
1485 zend_hash_apply(&EG(symbol_table), (apply_func_t) zend_check_symbol TSRMLS_CC); \
1486 if (&EG(symbol_table)!=EG(active_symbol_table)) { \
1533 void zend_clean_and_cache_symbol_table(HashTable *symbol_table TSRMLS_DC) /* {{{ */ in zend_clean_and_cache_symbol_table()
1536 zend_hash_destroy(symbol_table); in zend_clean_and_cache_symbol_table()
1537 FREE_HASHTABLE(symbol_table); in zend_clean_and_cache_symbol_table()
1541 zend_hash_clean(symbol_table); in zend_clean_and_cache_symbol_table()
1542 *(++EG(symtable_cache_ptr)) = symbol_table; in zend_clean_and_cache_symbol_table()
1689 EX(symbol_table) = EG(active_symbol_table); in i_create_execute_data_from_op_array()
H A Dzend_API.h47 HashTable *symbol_table; member
455 …ptr, zend_uint param_count, zval **params[], int no_separation, HashTable *symbol_table TSRMLS_DC);
524 ZEND_API void zend_reset_all_cv(HashTable *symbol_table TSRMLS_DC);
743 ZEND_SET_SYMBOL(&EG(symbol_table), name, var)
746 ZEND_SET_SYMBOL_WITH_LENGTH(&EG(symbol_table), name, name_length, var, _refcount, _is_ref)
H A Dzend_execute.h401 void zend_clean_and_cache_symbol_table(HashTable *symbol_table TSRMLS_DC);
H A Dzend_interfaces.c55 fci.symbol_table = NULL; in zend_call_method()
H A Dzend.c632 Z_ARRVAL_P(globals) = &EG(symbol_table); in php_auto_globals_create_globals()
633 zend_hash_update(&EG(symbol_table), name, name_len + 1, &globals, sizeof(zval *), NULL); in php_auto_globals_create_globals()
/PHP-5.6/main/
H A Dphp_variables.c609 zend_hash_update(&EG(symbol_table), "argv", sizeof("argv"), &arr, sizeof(zval *), NULL); in php_build_argv()
610 zend_hash_update(&EG(symbol_table), "argc", sizeof("argc"), &argc, sizeof(zval *), NULL); in php_build_argv()
676 int globals_check = (dest == (&EG(symbol_table))); in php_autoglobal_merge()
739 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); in php_auto_globals_create_get()
765 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); in php_auto_globals_create_post()
788 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); in php_auto_globals_create_cookie()
807 zend_hash_update(&EG(symbol_table), name, name_len + 1, &vars, sizeof(zval *), NULL); in php_auto_globals_create_files()
839 if (zend_hash_find(&EG(symbol_table), "argc", sizeof("argc"), (void**)&argc) == SUCCESS && in php_auto_globals_create_server()
840 zend_hash_find(&EG(symbol_table), "argv", sizeof("argv"), (void**)&argv) == SUCCESS) { in php_auto_globals_create_server()
885 …zend_hash_update(&EG(symbol_table), name, name_len + 1, &PG(http_globals)[TRACK_VARS_ENV], sizeof(… in php_auto_globals_create_env()
[all …]
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_frame.c43 EG(active_symbol_table) = PHPDBG_EX(symbol_table); in phpdbg_restore_frame()
87 EG(active_symbol_table) = PHPDBG_EX(symbol_table); in phpdbg_switch_frame()
H A Dphpdbg_prompt.c96 fci.symbol_table = EG(active_symbol_table); in phpdbg_call_register()
553 fci.symbol_table = NULL; in phpdbg_handle_exception()
605 if (ex && ex->symbol_table) { in PHPDBG_COMMAND()
606 zend_hash_clean(ex->symbol_table); in PHPDBG_COMMAND()
1116 EX(symbol_table) = EG(active_symbol_table); in phpdbg_create_execute_data()
/PHP-5.6/sapi/apache/
H A Dmod_php5.c260 HashTable *symbol_table; in sapi_apache_register_server_variables() local
280 symbol_table = track_vars_array->value.ht; in sapi_apache_register_server_variables()
282 symbol_table = NULL; in sapi_apache_register_server_variables()
284 if (symbol_table in sapi_apache_register_server_variables()
285 && !zend_hash_exists(symbol_table, "PATH_TRANSLATED", sizeof("PATH_TRANSLATED")) in sapi_apache_register_server_variables()
286 …&& zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_tran… in sapi_apache_register_server_variables()
/PHP-5.6/ext/spl/
H A Dspl_engine.h69 fci.symbol_table = NULL; in spl_instantiate_arg_n()
/PHP-5.6/ext/standard/
H A Dinfo.c204 if (zend_hash_find(&EG(symbol_table), name, name_length+1, (void **) &data)!=FAILURE in php_print_gpcse_array()
1109 …if (zend_hash_find(&EG(symbol_table), "PHP_SELF", sizeof("PHP_SELF"), (void **) &data) != FAILURE … in php_print_info()
1112 …if (zend_hash_find(&EG(symbol_table), "PHP_AUTH_TYPE", sizeof("PHP_AUTH_TYPE"), (void **) &data) !… in php_print_info()
1115 …if (zend_hash_find(&EG(symbol_table), "PHP_AUTH_USER", sizeof("PHP_AUTH_USER"), (void **) &data) !… in php_print_info()
1118 …if (zend_hash_find(&EG(symbol_table), "PHP_AUTH_PW", sizeof("PHP_AUTH_PW"), (void **) &data) != FA… in php_print_info()
/PHP-5.6/sapi/apache_hooks/
H A Dmod_php5.c390 HashTable *symbol_table; in sapi_apache_register_server_variables() local
405 symbol_table = track_vars_array->value.ht; in sapi_apache_register_server_variables()
407 symbol_table = NULL; in sapi_apache_register_server_variables()
409 if (symbol_table in sapi_apache_register_server_variables()
410 && !zend_hash_exists(symbol_table, "PATH_TRANSLATED", sizeof("PATH_TRANSLATED")) in sapi_apache_register_server_variables()
411 …&& zend_hash_find(symbol_table, "SCRIPT_FILENAME", sizeof("SCRIPT_FILENAME"), (void **) &path_tran… in sapi_apache_register_server_variables()
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_php.c276 …if (zend_hash_find(&EG(symbol_table), table, strlen(table) + 1, (void **) &data) == SUCCESS && Z_T… in fpm_php_get_string_from_table()
/PHP-5.6/sapi/roxen/
H A Droxen.c520 zend_hash_update(&EG(symbol_table), name, sizeof(name), \
555 zend_hash_update(&EG(symbol_table), buf, buf_len + 1, &zvalue, sizeof(zval *), NULL); in php_roxen_hash_environment()
/PHP-5.6/ext/opcache/
H A DZendAccelerator.c1281 …if (zend_hash_exists(&EG(symbol_table), jit_auto_globals_info[i].name, jit_auto_globals_info[i].le… in zend_accel_get_auto_globals()
1292 …if (zend_hash_exists(&EG(symbol_table), jit_auto_globals_info[3].name, jit_auto_globals_info[3].le… in zend_accel_get_auto_globals_no_jit()
2282 if (zvalue->value.ht && (zvalue->value.ht != &EG(symbol_table))) {
2396 EG(symbol_table).pDestructor = (dtor_func_t)accel_fast_zval_ptr_dtor;
2403 old_destructor = EG(symbol_table).pDestructor;
2404 EG(symbol_table).pDestructor = (dtor_func_t)accel_fast_zval_ptr_dtor;
2406 zend_hash_graceful_reverse_destroy(&EG(symbol_table));
2408 EG(symbol_table).pDestructor = old_destructor;
2410 zend_hash_init(&EG(symbol_table), 0, NULL, NULL, 0);
H A Dzend_accelerator_util_funcs.c247 if (ast->u.val->value.ht && ast->u.val->value.ht != &EG(symbol_table)) { in zend_ast_clone()
307 if (ret->value.ht && ret->value.ht != &EG(symbol_table)) {
431 if (((zval*)p->pDataPtr)->value.ht && ((zval*)p->pDataPtr)->value.ht != &EG(symbol_table)) {
/PHP-5.6/ext/session/
H A Dsession.c305 if (zend_hash_find(&EG(symbol_table), "_SERVER", sizeof("_SERVER"), (void **) &array) == SUCCESS && in php_session_create_id()
947 if (zend_hash_find(&EG(symbol_table), name, namelen + 1, (void **) &tmp) == SUCCESS) {
948 …if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_sessi…
1048 if (zend_hash_find(&EG(symbol_table), name, namelen + 1, (void **) &tmp) == SUCCESS) {
1049 …if ((Z_TYPE_PP(tmp) == IS_ARRAY && Z_ARRVAL_PP(tmp) == &EG(symbol_table)) || *tmp == PS(http_sessi…
1552 …if (PS(use_cookies) && zend_hash_find(&EG(symbol_table), "_COOKIE", sizeof("_COOKIE"), (void **) &…
1562 zend_hash_find(&EG(symbol_table), "_GET", sizeof("_GET"), (void **) &data) == SUCCESS &&
1570 zend_hash_find(&EG(symbol_table), "_POST", sizeof("_POST"), (void **) &data) == SUCCESS &&
/PHP-5.6/ext/pdo_sqlite/
H A Dsqlite_driver.c331 fc->fci.symbol_table = NULL; in do_callback()
495 collation->fc.fci.symbol_table = NULL; in php_sqlite3_collation_callback()
/PHP-5.6/sapi/cli/
H A Dphp_cli.c1058 zend_hash_update(&EG(symbol_table), "argi", sizeof("argi"), &argi, sizeof(zval *), NULL); in do_cli()
1069 zend_hash_update(&EG(symbol_table), "argn", sizeof("argn"), &argn, sizeof(zval *), NULL); in do_cli()
/PHP-5.6/ext/dom/
H A Dxpath.c201 fci.symbol_table = NULL; in dom_xpath_ext_function_php()

Completed in 81 milliseconds

12