Home
last modified time | relevance | path

Searched refs:auto_globals (Results 1 – 6 of 6) sorted by relevance

/PHP-7.1/Zend/
H A Dzend.c44 # define GLOBAL_AUTO_GLOBALS_TABLE CG(auto_globals)
504 compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor()
505 zend_hash_init_ex(compiler_globals->auto_globals, 8, NULL, auto_global_dtor, 1, 0); in compiler_globals_ctor()
506 zend_hash_copy(compiler_globals->auto_globals, global_auto_globals_table, auto_global_copy_ctor); in compiler_globals_ctor()
534 if (compiler_globals->auto_globals != GLOBAL_AUTO_GLOBALS_TABLE) { in compiler_globals_dtor()
535 zend_hash_destroy(compiler_globals->auto_globals); in compiler_globals_dtor()
536 free(compiler_globals->auto_globals); in compiler_globals_dtor()
760 compiler_globals->auto_globals = GLOBAL_AUTO_GLOBALS_TABLE; in zend_startup()
H A Dzend_globals.h86 HashTable *auto_globals; member
H A Dzend_compile.c1633 if ((auto_global = zend_hash_str_find_ptr(CG(auto_globals), name, len)) != NULL) { in zend_is_auto_global_str()
1647 if ((auto_global = zend_hash_find_ptr(CG(auto_globals), name)) != NULL) { in zend_is_auto_global()
1666 …retval = zend_hash_add_mem(CG(auto_globals), auto_global.name, &auto_global, sizeof(zend_auto_glob… in zend_register_auto_global()
1677 ZEND_HASH_FOREACH_PTR(CG(auto_globals), auto_global) { in zend_activate_auto_globals()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg_info.c189 zend_hash_apply(CG(auto_globals), (apply_func_t) phpdbg_arm_auto_global); in phpdbg_print_symbols()
H A Dphpdbg_wait.c156 zend_hash_apply(CG(auto_globals), (apply_func_t) phpdbg_dearm_autoglobals); in phpdbg_webdata_decompress()
/PHP-7.1/ext/opcache/
H A DZendAccelerator.c610 for (idx = 0; idx < CG(auto_globals)->nNumUsed; idx++) { in accel_use_shm_interned_strings()
613 p = CG(auto_globals)->arData + idx; in accel_use_shm_interned_strings()
2969 zend_hash_clean(CG(auto_globals));

Completed in 61 milliseconds