Lines Matching refs:EG

718 	ZEND_HASH_MAP_FOREACH_BUCKET(EG(zend_constants), p) {  in accel_copy_permanent_strings()
752 ZEND_HASH_MAP_FOREACH_BUCKET(EG(ini_directives), p) { in accel_copy_permanent_strings()
948 er = EG(error_reporting); in zend_get_stream_timestamp()
949 EG(error_reporting) = 0; in zend_get_stream_timestamp()
955 EG(error_reporting) = er; in zend_get_stream_timestamp()
1018 !EG(current_execute_data) && in zend_get_file_handle_timestamp()
1076 er = EG(error_reporting); in zend_get_file_handle_timestamp()
1077 EG(error_reporting) = 0; in zend_get_file_handle_timestamp()
1083 EG(error_reporting) = er; in zend_get_file_handle_timestamp()
1330 if (EXPECTED(EG(current_execute_data)) && in accel_make_persistent_key()
1692 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_SERVER))) { in zend_accel_get_auto_globals()
1695 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_ENV))) { in zend_accel_get_auto_globals()
1698 if (zend_hash_exists(&EG(symbol_table), ZSTR_KNOWN(ZEND_STR_AUTOGLOBAL_REQUEST))) { in zend_accel_get_auto_globals()
1740 if (!EG(exception)) { in opcache_compile_file()
1796 orig_functions_count = EG(function_table)->nNumUsed; in opcache_compile_file()
1797 orig_class_count = EG(class_table)->nNumUsed; in opcache_compile_file()
1798 ZVAL_COPY_VALUE(&orig_user_error_handler, &EG(user_error_handler)); in opcache_compile_file()
1801 ZVAL_UNDEF(&EG(user_error_handler)); in opcache_compile_file()
1827 EG(user_error_handler) = orig_user_error_handler; in opcache_compile_file()
1828 EG(record_errors) = 0; in opcache_compile_file()
1848 new_persistent_script->num_warnings = EG(num_errors); in opcache_compile_file()
1849 new_persistent_script->warnings = EG(errors); in opcache_compile_file()
1850 EG(num_errors) = 0; in opcache_compile_file()
1851 EG(errors) = NULL; in opcache_compile_file()
1894 if (!EG(exception)) { in file_cache_compile_file()
1913 if (!EG(current_execute_data) || !EG(current_execute_data)->opline || in file_cache_compile_file()
1914 !EG(current_execute_data)->func || in file_cache_compile_file()
1915 !ZEND_USER_CODE(EG(current_execute_data)->func->common.type) || in file_cache_compile_file()
1916 EG(current_execute_data)->opline->opcode != ZEND_INCLUDE_OR_EVAL || in file_cache_compile_file()
1917 (EG(current_execute_data)->opline->extended_value != ZEND_INCLUDE_ONCE && in file_cache_compile_file()
1918 EG(current_execute_data)->opline->extended_value != ZEND_REQUIRE_ONCE)) { in file_cache_compile_file()
1919 …if (zend_hash_add_empty_element(&EG(included_files), persistent_script->script.filename) != NULL) { in file_cache_compile_file()
2008 ((!EG(current_execute_data) && in persistent_compile_file()
2011 (EG(current_execute_data) && in persistent_compile_file()
2012 EG(current_execute_data)->func && in persistent_compile_file()
2013 ZEND_USER_CODE(EG(current_execute_data)->func->common.type) && in persistent_compile_file()
2014 ZCG(cache_opline) == EG(current_execute_data)->opline))) { in persistent_compile_file()
2044 if (!EG(exception)) { in persistent_compile_file()
2101 if (!EG(exception)) { in persistent_compile_file()
2129 uint32_t old_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file()
2169 uint32_t new_const_num = zend_hash_next_free_element(EG(zend_constants)); in persistent_compile_file()
2172 zend_hash_index_del(EG(zend_constants), new_const_num); in persistent_compile_file()
2195 if (!EG(current_execute_data) || in persistent_compile_file()
2196 !EG(current_execute_data)->func || in persistent_compile_file()
2197 !ZEND_USER_CODE(EG(current_execute_data)->func->common.type) || in persistent_compile_file()
2198 !EG(current_execute_data)->opline || in persistent_compile_file()
2199 EG(current_execute_data)->opline->opcode != ZEND_INCLUDE_OR_EVAL || in persistent_compile_file()
2200 (EG(current_execute_data)->opline->extended_value != ZEND_INCLUDE_ONCE && in persistent_compile_file()
2201 EG(current_execute_data)->opline->extended_value != ZEND_REQUIRE_ONCE)) { in persistent_compile_file()
2202 …if (zend_hash_add_empty_element(&EG(included_files), persistent_script->script.filename) != NULL) { in persistent_compile_file()
2366 zend_persist_warnings_calc(EG(num_errors), EG(errors)); in zend_accel_inheritance_cache_add()
2423 entry->num_warnings = EG(num_errors); in zend_accel_inheritance_cache_add()
2424 entry->warnings = zend_persist_warnings(EG(num_errors), EG(errors)); in zend_accel_inheritance_cache_add()
2428 EG(num_errors) = 0; in zend_accel_inheritance_cache_add()
2429 EG(errors) = NULL; in zend_accel_inheritance_cache_add()
2479 if ((!EG(current_execute_data) && in persistent_stream_open_function()
2482 (EG(current_execute_data) && in persistent_stream_open_function()
2483 EG(current_execute_data)->func && in persistent_stream_open_function()
2484 ZEND_USER_CODE(EG(current_execute_data)->func->common.type) && in persistent_stream_open_function()
2485 ZCG(cache_opline) == EG(current_execute_data)->opline)) { in persistent_stream_open_function()
2504 if ((!EG(current_execute_data)) || in persistent_zend_resolve_path()
2505 (EG(current_execute_data) && in persistent_zend_resolve_path()
2506 EG(current_execute_data)->func && in persistent_zend_resolve_path()
2507 ZEND_USER_CODE(EG(current_execute_data)->func->common.type) && in persistent_zend_resolve_path()
2508 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in persistent_zend_resolve_path()
2509 (EG(current_execute_data)->opline->extended_value == ZEND_INCLUDE_ONCE || in persistent_zend_resolve_path()
2510 EG(current_execute_data)->opline->extended_value == ZEND_REQUIRE_ONCE))) { in persistent_zend_resolve_path()
2524 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path()
2557 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path()
3307 …if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")…
3393 …if ((ini_entry = zend_hash_str_find_ptr(EG(ini_directives), "include_path", sizeof("include_path")…
3483 if (EG(zend_constants)) {
3484 ZEND_HASH_MAP_REVERSE_FOREACH_VAL(EG(zend_constants), zv) {
3493 if (EG(function_table)) {
3494 ZEND_HASH_MAP_REVERSE_FOREACH_VAL(EG(function_table), zv) {
3502 if (EG(class_table)) {
3503 ZEND_HASH_MAP_REVERSE_FOREACH_VAL(EG(class_table), zv) {
3591 ZEND_HASH_MAP_FOREACH_BUCKET_FROM(src, p, EG(persistent_classes_count)) {
3697 zend_class_entry *parent = zend_hash_find_ptr(EG(class_table), key);
3709 zend_hash_find_ptr(EG(class_table), ce->interface_names[i].lc_name);
3721 zend_hash_find_ptr(EG(class_table), ce->trait_names[i].lc_name);
3740 EG(exception) = (void*)(uintptr_t)-1; /* prevent error reporting */
3793 EG(exception) = NULL;
3834 func = zend_hash_find_ptr(EG(function_table), key);
3885 ZEND_HASH_MAP_FOREACH_STR_KEY_VAL_FROM(EG(class_table), key, zv, EG(persistent_classes_count)) {
3896 if (zend_hash_exists(EG(class_table), lcname)) {
3908 zv = zend_hash_set_bucket_key(EG(class_table), (Bucket*)zv, lcname);
3949 zv = zend_hash_set_bucket_key(EG(class_table), (Bucket*)zv, key);
3956 EG(record_errors) = false;
3957 ZEND_ASSERT(EG(num_errors) > 0);
3958 zend_hash_update_ptr(&errors, key, EG(errors)[EG(num_errors)-1]);
3959 EG(num_errors)--;
3971 ZEND_HASH_MAP_REVERSE_FOREACH_VAL(EG(class_table), zv) {
3990 EG(class_table), key, zv, EG(persistent_classes_count)) {
3998 && zend_hash_exists(EG(class_table), lcname)) {
4035 ZEND_HASH_MAP_FOREACH_PTR_FROM(EG(function_table), op_array, EG(persistent_functions_count)) {
4039 ZEND_HASH_MAP_FOREACH_PTR_FROM(EG(class_table), ce, EG(persistent_classes_count)) {
4299 if (EG(zend_constants)) {
4300 EG(persistent_constants_count) = EG(zend_constants)->nNumUsed;
4302 if (EG(function_table)) {
4303 EG(persistent_functions_count) = EG(function_table)->nNumUsed;
4305 if (EG(class_table)) {
4306 EG(persistent_classes_count) = EG(class_table)->nNumUsed;
4359 zend_hash_add_empty_element(&EG(included_files), file_handle.opened_path);
4365 if (UNEXPECTED(EG(exception))) {
4366 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) {
4369 if (EG(exception)) {
4370 ret = zend_exception_error(EG(exception), E_ERROR);
4379 if (EG(exception)) {
4380 zend_exception_error(EG(exception), E_ERROR);
4407 if (EG(zend_constants)) {
4411 zend_execute_data *orig_execute_data = EG(current_execute_data);
4417 EG(current_execute_data) = &fake_execute_data;
4421 EG(current_execute_data) = orig_execute_data;
4426 EG(flags) |= EG_FLAGS_IN_SHUTDOWN;
4438 ZEND_ASSERT(zend_hash_num_elements(EG(zend_constants)) == EG(persistent_constants_count));
4440 zend_hash_init(&EG(symbol_table), 0, NULL, ZVAL_PTR_DTOR, 0);
4444 if (EG(full_tables_cleanup)) {
4603 orig_error_reporting = EG(error_reporting);
4604 EG(error_reporting) = 0;
4608 EG(error_reporting) = orig_error_reporting;
4642 EG(class_table) = NULL;
4643 EG(function_table) = NULL;