Lines Matching refs:EG

337 …return (EG(current_module) = zend_register_module_ex(&zend_builtin_module)) == NULL ? FAILURE : SU…  in zend_startup_builtin_functions()
684 if (!EG(each_deprecation_thrown)) { in ZEND_FUNCTION()
686 EG(each_deprecation_thrown) = 1; in ZEND_FUNCTION()
743 old_error_reporting = EG(error_reporting); in ZEND_FUNCTION()
752 zend_ini_entry *p = EG(error_reporting_ini_entry); in ZEND_FUNCTION()
755 zval *zv = zend_hash_find_ex(EG(ini_directives), ZSTR_KNOWN(ZEND_STR_ERROR_REPORTING), 1); in ZEND_FUNCTION()
757 p = EG(error_reporting_ini_entry) = (zend_ini_entry*)Z_PTR_P(zv); in ZEND_FUNCTION()
763 if (!EG(modified_ini_directives)) { in ZEND_FUNCTION()
764 ALLOC_HASHTABLE(EG(modified_ini_directives)); in ZEND_FUNCTION()
765 zend_hash_init(EG(modified_ini_directives), 8, NULL, NULL, 0); in ZEND_FUNCTION()
767 …if (EXPECTED(zend_hash_add_ptr(EG(modified_ini_directives), ZSTR_KNOWN(ZEND_STR_ERROR_REPORTING), … in ZEND_FUNCTION()
778 EG(error_reporting) = Z_LVAL_P(err); in ZEND_FUNCTION()
780 EG(error_reporting) = atoi(ZSTR_VAL(p->value)); in ZEND_FUNCTION()
1470 ce = zend_hash_find_ptr(EG(class_table), lcname); in class_exists_impl()
1528 func = zend_hash_find_ptr(EG(function_table), lcname); in ZEND_FUNCTION()
1586 ZEND_HASH_FOREACH_STR_KEY(&EG(included_files), entry) { in ZEND_FUNCTION()
1644 if (Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1645 ZVAL_COPY(return_value, &EG(user_error_handler)); in ZEND_FUNCTION()
1648 zend_stack_push(&EG(user_error_handlers_error_reporting), &EG(user_error_handler_error_reporting)); in ZEND_FUNCTION()
1649 zend_stack_push(&EG(user_error_handlers), &EG(user_error_handler)); in ZEND_FUNCTION()
1652 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1656 ZVAL_COPY(&EG(user_error_handler), error_handler); in ZEND_FUNCTION()
1657 EG(user_error_handler_error_reporting) = (int)error_type; in ZEND_FUNCTION()
1669 if (Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1672 ZVAL_COPY_VALUE(&zeh, &EG(user_error_handler)); in ZEND_FUNCTION()
1673 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1677 if (zend_stack_is_empty(&EG(user_error_handlers))) { in ZEND_FUNCTION()
1678 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1681EG(user_error_handler_error_reporting) = zend_stack_int_top(&EG(user_error_handlers_error_reportin… in ZEND_FUNCTION()
1682 zend_stack_del_top(&EG(user_error_handlers_error_reporting)); in ZEND_FUNCTION()
1683 tmp = zend_stack_top(&EG(user_error_handlers)); in ZEND_FUNCTION()
1684 ZVAL_COPY_VALUE(&EG(user_error_handler), tmp); in ZEND_FUNCTION()
1685 zend_stack_del_top(&EG(user_error_handlers)); in ZEND_FUNCTION()
1711 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1712 ZVAL_COPY(return_value, &EG(user_exception_handler)); in ZEND_FUNCTION()
1715 zend_stack_push(&EG(user_exception_handlers), &EG(user_exception_handler)); in ZEND_FUNCTION()
1718 ZVAL_UNDEF(&EG(user_exception_handler)); in ZEND_FUNCTION()
1722 ZVAL_COPY(&EG(user_exception_handler), exception_handler); in ZEND_FUNCTION()
1734 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1735 zval_ptr_dtor(&EG(user_exception_handler)); in ZEND_FUNCTION()
1737 if (zend_stack_is_empty(&EG(user_exception_handlers))) { in ZEND_FUNCTION()
1738 ZVAL_UNDEF(&EG(user_exception_handler)); in ZEND_FUNCTION()
1740 zval *tmp = zend_stack_top(&EG(user_exception_handlers)); in ZEND_FUNCTION()
1741 ZVAL_COPY_VALUE(&EG(user_exception_handler), tmp); in ZEND_FUNCTION()
1742 zend_stack_del_top(&EG(user_exception_handlers)); in ZEND_FUNCTION()
1768 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), key, ce) { in get_declared_class_impl()
1820 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(function_table), key, func) { in ZEND_FUNCTION()
1899 …func = zend_hash_str_find_ptr(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAM… in ZEND_FUNCTION()
1909 zend_hash_str_del(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)-1); in ZEND_FUNCTION()
1916 …VAL(function_name) + 1, sizeof("lambda_")+MAX_LENGTH_OF_LONG, "lambda_%d", ++EG(lambda_count)) + 1; in ZEND_FUNCTION()
1917 } while (zend_hash_add_ptr(EG(function_table), function_name, func) == NULL); in ZEND_FUNCTION()
1920 zend_hash_str_del(EG(function_table), LAMBDA_TEMP_FUNCNAME, sizeof(LAMBDA_TEMP_FUNCNAME)-1); in ZEND_FUNCTION()
1968 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
1976 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
1991 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
2063 ZEND_HASH_FOREACH_PTR(EG(zend_constants), val) { in ZEND_FUNCTION()
2093 ZEND_HASH_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_FUNCTION()
2253 if (EG(opline_before_exception)) { in ZEND_FUNCTION()
2254 lineno = EG(opline_before_exception)->lineno; in ZEND_FUNCTION()
2412 if (!(ptr = EG(current_execute_data))) { in zend_fetch_debug_backtrace()
2454 if (EG(opline_before_exception)) { in zend_fetch_debug_backtrace()
2455 lineno = EG(opline_before_exception)->lineno; in zend_fetch_debug_backtrace()