Lines Matching refs:EG
62 …return (EG(current_module) = zend_register_module_ex(&zend_builtin_module)) == NULL ? FAILURE : SU… in zend_startup_builtin_functions()
379 old_error_reporting = EG(error_reporting); in ZEND_FUNCTION()
382 zend_ini_entry *p = EG(error_reporting_ini_entry); in ZEND_FUNCTION()
385 zval *zv = zend_hash_find_known_hash(EG(ini_directives), ZSTR_KNOWN(ZEND_STR_ERROR_REPORTING)); in ZEND_FUNCTION()
391 p = EG(error_reporting_ini_entry) = (zend_ini_entry*)Z_PTR_P(zv); in ZEND_FUNCTION()
394 if (!EG(modified_ini_directives)) { in ZEND_FUNCTION()
395 ALLOC_HASHTABLE(EG(modified_ini_directives)); in ZEND_FUNCTION()
396 zend_hash_init(EG(modified_ini_directives), 8, NULL, NULL, 0); in ZEND_FUNCTION()
398 …if (EXPECTED(zend_hash_add_ptr(EG(modified_ini_directives), ZSTR_KNOWN(ZEND_STR_ERROR_REPORTING), … in ZEND_FUNCTION()
408 EG(error_reporting) = err; in ZEND_FUNCTION()
987 ce = zend_hash_find_ptr(EG(class_table), lcname); in class_exists_impl()
1046 exists = zend_hash_exists(EG(function_table), lcname); in ZEND_FUNCTION()
1097 ZEND_HASH_FOREACH_STR_KEY(&EG(included_files), entry) { in ZEND_FUNCTION()
1148 if (Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1149 ZVAL_COPY(return_value, &EG(user_error_handler)); in ZEND_FUNCTION()
1152 zend_stack_push(&EG(user_error_handlers_error_reporting), &EG(user_error_handler_error_reporting)); in ZEND_FUNCTION()
1153 zend_stack_push(&EG(user_error_handlers), &EG(user_error_handler)); in ZEND_FUNCTION()
1156 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1160 ZVAL_COPY(&EG(user_error_handler), &(fci.function_name)); in ZEND_FUNCTION()
1161 EG(user_error_handler_error_reporting) = (int)error_type; in ZEND_FUNCTION()
1170 if (Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1173 ZVAL_COPY_VALUE(&zeh, &EG(user_error_handler)); in ZEND_FUNCTION()
1174 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1178 if (zend_stack_is_empty(&EG(user_error_handlers))) { in ZEND_FUNCTION()
1179 ZVAL_UNDEF(&EG(user_error_handler)); in ZEND_FUNCTION()
1182 …EG(user_error_handler_error_reporting) = zend_stack_int_top(&EG(user_error_handlers_error_reportin… in ZEND_FUNCTION()
1183 zend_stack_del_top(&EG(user_error_handlers_error_reporting)); in ZEND_FUNCTION()
1184 tmp = zend_stack_top(&EG(user_error_handlers)); in ZEND_FUNCTION()
1185 ZVAL_COPY_VALUE(&EG(user_error_handler), tmp); in ZEND_FUNCTION()
1186 zend_stack_del_top(&EG(user_error_handlers)); in ZEND_FUNCTION()
1204 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1205 ZVAL_COPY(return_value, &EG(user_exception_handler)); in ZEND_FUNCTION()
1208 zend_stack_push(&EG(user_exception_handlers), &EG(user_exception_handler)); in ZEND_FUNCTION()
1211 ZVAL_UNDEF(&EG(user_exception_handler)); in ZEND_FUNCTION()
1215 ZVAL_COPY(&EG(user_exception_handler), &(fci.function_name)); in ZEND_FUNCTION()
1224 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in ZEND_FUNCTION()
1225 zval_ptr_dtor(&EG(user_exception_handler)); in ZEND_FUNCTION()
1227 if (zend_stack_is_empty(&EG(user_exception_handlers))) { in ZEND_FUNCTION()
1228 ZVAL_UNDEF(&EG(user_exception_handler)); in ZEND_FUNCTION()
1230 zval *tmp = zend_stack_top(&EG(user_exception_handlers)); in ZEND_FUNCTION()
1231 ZVAL_COPY_VALUE(&EG(user_exception_handler), tmp); in ZEND_FUNCTION()
1232 zend_stack_del_top(&EG(user_exception_handlers)); in ZEND_FUNCTION()
1251 ZEND_HASH_FOREACH_STR_KEY_VAL(EG(class_table), key, zv) { in get_declared_class_impl()
1312 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(function_table), key, func) { in ZEND_FUNCTION()
1402 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
1410 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
1425 ZEND_HASH_FOREACH_KEY_VAL(&EG(regular_list), index, key, val) { in ZEND_FUNCTION()
1494 ZEND_HASH_FOREACH_PTR(EG(zend_constants), val) { in ZEND_FUNCTION()
1524 ZEND_HASH_FOREACH_PTR(EG(zend_constants), constant) { in ZEND_FUNCTION()
1654 call = EG(current_execute_data); in zend_fetch_debug_backtrace()
1685 if (EG(opline_before_exception)) { in zend_fetch_debug_backtrace()
1686 lineno = EG(opline_before_exception)->lineno; in zend_fetch_debug_backtrace()