Searched refs:auto_globals (Results 1 – 6 of 6) sorted by relevance
/PHP-7.0/Zend/ |
H A D | zend.c | 43 # define GLOBAL_AUTO_GLOBALS_TABLE CG(auto_globals) 496 compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable)); in compiler_globals_ctor() 497 zend_hash_init_ex(compiler_globals->auto_globals, 8, NULL, auto_global_dtor, 1, 0); in compiler_globals_ctor() 498 zend_hash_copy(compiler_globals->auto_globals, global_auto_globals_table, auto_global_copy_ctor); in compiler_globals_ctor() 524 if (compiler_globals->auto_globals != GLOBAL_AUTO_GLOBALS_TABLE) { in compiler_globals_dtor() 525 zend_hash_destroy(compiler_globals->auto_globals); in compiler_globals_dtor() 526 free(compiler_globals->auto_globals); in compiler_globals_dtor() 745 compiler_globals->auto_globals = GLOBAL_AUTO_GLOBALS_TABLE; in zend_startup()
|
H A D | zend_globals.h | 86 HashTable *auto_globals; member
|
H A D | zend_compile.c | 1517 if ((auto_global = zend_hash_str_find_ptr(CG(auto_globals), name, len)) != NULL) { in zend_is_auto_global_str() 1531 if ((auto_global = zend_hash_find_ptr(CG(auto_globals), name)) != NULL) { in zend_is_auto_global() 1550 …retval = zend_hash_add_mem(CG(auto_globals), auto_global.name, &auto_global, sizeof(zend_auto_glob… in zend_register_auto_global() 1561 ZEND_HASH_FOREACH_PTR(CG(auto_globals), auto_global) { in zend_activate_auto_globals()
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_info.c | 189 zend_hash_apply(CG(auto_globals), (apply_func_t) phpdbg_arm_auto_global); in phpdbg_print_symbols()
|
H A D | phpdbg_wait.c | 156 zend_hash_apply(CG(auto_globals), (apply_func_t) phpdbg_dearm_autoglobals); in phpdbg_webdata_decompress()
|
/PHP-7.0/ext/opcache/ |
H A D | ZendAccelerator.c | 604 for (idx = 0; idx < CG(auto_globals)->nNumUsed; idx++) { in accel_use_shm_interned_strings() 607 p = CG(auto_globals)->arData + idx; in accel_use_shm_interned_strings() 2912 zend_hash_clean(CG(auto_globals));
|
Completed in 60 milliseconds