Lines Matching refs:EG

387 …return (EG(current_module) = zend_register_module_ex(&zend_builtin_module)) == NULL ? FAILURE : SU…  in zend_startup_builtin_functions()
536 q = &EG(uninitialized_zval); in ZEND_FUNCTION()
552 q = &EG(uninitialized_zval); in ZEND_FUNCTION()
718 old_error_reporting = EG(error_reporting); in ZEND_FUNCTION()
722 zend_ini_entry *p = EG(error_reporting_ini_entry); in ZEND_FUNCTION()
725 p = zend_hash_str_find_ptr(EG(ini_directives), "error_reporting", sizeof("error_reporting")-1); in ZEND_FUNCTION()
727 EG(error_reporting_ini_entry) = p; in ZEND_FUNCTION()
733 if (!EG(modified_ini_directives)) { in ZEND_FUNCTION()
734 ALLOC_HASHTABLE(EG(modified_ini_directives)); in ZEND_FUNCTION()
735 zend_hash_init(EG(modified_ini_directives), 8, NULL, NULL, 0); in ZEND_FUNCTION()
737 …if (EXPECTED(zend_hash_str_add_ptr(EG(modified_ini_directives), "error_reporting", sizeof("error_r… in ZEND_FUNCTION()
748 EG(error_reporting) = Z_LVAL_P(err); in ZEND_FUNCTION()
750 EG(error_reporting) = atoi(ZSTR_VAL(p->value)); in ZEND_FUNCTION()
931 if (EG(scope)) { in ZEND_FUNCTION()
932 RETURN_STR_COPY(EG(scope)->name); in ZEND_FUNCTION()
956 } else if (!EG(scope)) { in ZEND_FUNCTION()
975 ce = EG(scope); in ZEND_FUNCTION()
1074 prop_info->ce != EG(scope)) || in add_class_vars()
1076 !zend_check_protected(prop_info->ce, EG(scope))) || in add_class_vars()
1078 ce != EG(scope) && in add_class_vars()
1079 prop_info->ce != EG(scope))) { in add_class_vars()
1262 || (EG(scope) && in ZEND_FUNCTION()
1264 zend_check_protected(mptr->common.scope, EG(scope))) in ZEND_FUNCTION()
1266 EG(scope) == mptr->common.scope)))) { in ZEND_FUNCTION()
1416 ce = zend_hash_find_ptr(EG(class_table), lc_name); in ZEND_FUNCTION()
1452 ce = zend_hash_find_ptr(EG(class_table), lc_name); in ZEND_FUNCTION()
1489 ce = zend_hash_find_ptr(EG(class_table), lc_name); in ZEND_FUNCTION()
1523 func = zend_hash_find_ptr(EG(function_table), lcname); in ZEND_FUNCTION()
1638 ZEND_HASH_FOREACH_STR_KEY(&EG(included_files), entry) { in ZEND_FUNCTION()
1697 if (Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1698 ZVAL_COPY(return_value, &EG(user_error_handler)); in ZEND_FUNCTION()
1700 …zend_stack_push(&EG(user_error_handlers_error_reporting), &EG(user_error_handler_error_reporting)); in ZEND_FUNCTION()
1701 zend_stack_push(&EG(user_error_handlers), &EG(user_error_handler)); in ZEND_FUNCTION()
1705 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1709 ZVAL_COPY(&EG(user_error_handler), error_handler); in ZEND_FUNCTION()
1710 EG(user_error_handler_error_reporting) = (int)error_type; in ZEND_FUNCTION()
1722 if (Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1725 ZVAL_COPY_VALUE(&zeh, &EG(user_error_handler)); in ZEND_FUNCTION()
1726 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1730 if (zend_stack_is_empty(&EG(user_error_handlers))) { in ZEND_FUNCTION()
1731 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1734EG(user_error_handler_error_reporting) = zend_stack_int_top(&EG(user_error_handlers_error_reportin… in ZEND_FUNCTION()
1735 zend_stack_del_top(&EG(user_error_handlers_error_reporting)); in ZEND_FUNCTION()
1736 tmp = zend_stack_top(&EG(user_error_handlers)); in ZEND_FUNCTION()
1737 ZVAL_COPY_VALUE(&EG(user_error_handler), tmp); in ZEND_FUNCTION()
1738 zend_stack_del_top(&EG(user_error_handlers)); in ZEND_FUNCTION()
1765 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1766 ZVAL_COPY(return_value, &EG(user_exception_handler)); in ZEND_FUNCTION()
1768 zend_stack_push(&EG(user_exception_handlers), &EG(user_exception_handler)); in ZEND_FUNCTION()
1772 ZVAL_UNDEF(&EG(user_exception_handler)); in ZEND_FUNCTION()
1776 ZVAL_COPY(&EG(user_exception_handler), exception_handler); in ZEND_FUNCTION()
1788 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1789 zval_ptr_dtor(&EG(user_exception_handler)); in ZEND_FUNCTION()
1791 if (zend_stack_is_empty(&EG(user_exception_handlers))) { in ZEND_FUNCTION()
1792 ZVAL_UNDEF(&EG(user_exception_handler)); in ZEND_FUNCTION()
1794 zval *tmp = zend_stack_top(&EG(user_exception_handlers)); in ZEND_FUNCTION()
1795 ZVAL_COPY_VALUE(&EG(user_exception_handler), tmp); in ZEND_FUNCTION()
1796 zend_stack_del_top(&EG(user_exception_handlers)); in ZEND_FUNCTION()
1835 …zend_hash_apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mas… in ZEND_FUNCTION()
1851 …zend_hash_apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mas… in ZEND_FUNCTION()
1867 …zend_hash_apply_with_arguments(EG(class_table), copy_class_or_interface_name, 3, return_value, mas… in ZEND_FUNCTION()
1915 …zend_hash_apply_with_arguments(EG(function_table), copy_function_name, 3, &internal, &user, &exclu… in ZEND_FUNCTION()
1981 …func = zend_hash_str_find_ptr(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAM… in ZEND_FUNCTION()
1991 zend_hash_str_del(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)-1); in ZEND_FUNCTION()
1998 …VAL(function_name) + 1, sizeof("lambda_")+MAX_LENGTH_OF_LONG, "lambda_%d", ++EG(lambda_count)) + 1; in ZEND_FUNCTION()
1999 } while (zend_hash_add_ptr(EG(function_table), function_name, func) == NULL); in ZEND_FUNCTION()
2002 zend_hash_str_del(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)-1); in ZEND_FUNCTION()
2067 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
2075 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
2090 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
2184 ZEND_HASH_FOREACH_PTR(EG(zend_constants), val) { in ZEND_FUNCTION()
2211 zend_hash_apply_with_argument(EG(zend_constants), add_constant_info, return_value); in ZEND_FUNCTION()
2247 ZEND_HASH_FILL_ADD(&EG(uninitialized_zval)); in debug_backtrace_get_args()
2259 ZEND_HASH_FILL_ADD(&EG(uninitialized_zval)); in debug_backtrace_get_args()
2275 ZEND_HASH_FILL_ADD(&EG(uninitialized_zval)); in debug_backtrace_get_args()
2353 if (EG(opline_before_exception)) { in ZEND_FUNCTION()
2354 lineno = EG(opline_before_exception)->lineno; in ZEND_FUNCTION()
2512 if (!(ptr = EG(current_execute_data))) { in zend_fetch_debug_backtrace()
2562 if (EG(opline_before_exception)) { in zend_fetch_debug_backtrace()
2563 lineno = EG(opline_before_exception)->lineno; in zend_fetch_debug_backtrace()