Lines Matching refs:EG
57 # define GLOBAL_CONSTANTS_TABLE EG(zend_constants)
98 EG(error_reporting) = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; in ZEND_INI_MH()
100 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
553 memset(EG(exception_op), 0, sizeof(EG(exception_op))); in zend_init_exception_op()
554 EG(exception_op)[0].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
555 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)); in zend_init_exception_op()
556 EG(exception_op)[1].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
557 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+1); in zend_init_exception_op()
558 EG(exception_op)[2].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
559 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+2); in zend_init_exception_op()
565 memset(&EG(call_trampoline_op), 0, sizeof(EG(call_trampoline_op))); in zend_init_call_trampoline_op()
566 EG(call_trampoline_op).opcode = ZEND_CALL_TRAMPOLINE; in zend_init_call_trampoline_op()
567 ZEND_VM_SET_OPCODE_HANDLER(&EG(call_trampoline_op)); in zend_init_call_trampoline_op()
778 ZVAL_ARR(&globals, &EG(symbol_table)); in php_auto_globals_create_globals()
781 zend_hash_update(&EG(symbol_table), name, &globals); in php_auto_globals_create_globals()
906 zend_get_windows_version_info(&EG(windows_version_info)); in zend_startup()
925 EG(error_reporting) = E_ALL & ~E_NOTICE; in zend_startup()
1023 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_post_startup()
1036 free(EG(zend_constants)); in zend_post_startup()
1037 EG(zend_constants) = NULL; in zend_post_startup()
1040 global_persistent_list = &EG(persistent_list); in zend_post_startup()
1054 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_shutdown()
1110 if (EG(exception)) { in zenderror()
1123 if (!EG(bailout)) { in BEGIN_EXTERN_C()
1131 EG(current_execute_data) = NULL; in BEGIN_EXTERN_C()
1132 LONGJMP(*EG(bailout), FAILURE); in BEGIN_EXTERN_C()
1191 EG(current_execute_data) = NULL; in zend_deactivate()
1208 zend_destroy_rsrc_list(&EG(regular_list)); in zend_deactivate()
1278 if (EG(exception)) { in zend_error_va_list()
1289 ex = EG(current_execute_data); in zend_error_va_list()
1295 EG(opline_before_exception)) { in zend_error_va_list()
1296 opline = EG(opline_before_exception); in zend_error_va_list()
1298 zend_exception_error(EG(exception), E_WARNING); in zend_error_va_list()
1299 EG(exception) = NULL; in zend_error_va_list()
1321 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF in zend_error_va_list()
1322 || !(EG(user_error_handler_error_reporting) & type) in zend_error_va_list()
1323 || EG(error_handling) != EH_NORMAL) { in zend_error_va_list()
1360 ZVAL_COPY_VALUE(&orig_user_error_handler, &EG(user_error_handler)); in zend_error_va_list()
1361 ZVAL_UNDEF(&EG(user_error_handler)); in zend_error_va_list()
1377 orig_fake_scope = EG(fake_scope); in zend_error_va_list()
1378 EG(fake_scope) = NULL; in zend_error_va_list()
1387 } else if (!EG(exception)) { in zend_error_va_list()
1392 EG(fake_scope) = orig_fake_scope; in zend_error_va_list()
1405 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF) { in zend_error_va_list()
1406 ZVAL_COPY_VALUE(&EG(user_error_handler), &orig_user_error_handler); in zend_error_va_list()
1415 if (!(EG(current_execute_data) && in zend_error_va_list()
1416 EG(current_execute_data)->func && in zend_error_va_list()
1417 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error_va_list()
1418 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error_va_list()
1419 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error_va_list()
1420 EG(exit_status) = 255; in zend_error_va_list()
1546 if (EG(exception) == (void*)(uintptr_t)-1) { in zend_throw_error()
1554 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
1642 old_exception = EG(exception); in zend_user_exception_handler()
1643 EG(exception) = NULL; in zend_user_exception_handler()
1645 ZVAL_COPY_VALUE(&orig_user_exception_handler, &EG(user_exception_handler)); in zend_user_exception_handler()
1649 if (EG(exception)) { in zend_user_exception_handler()
1650 OBJ_RELEASE(EG(exception)); in zend_user_exception_handler()
1651 EG(exception) = NULL; in zend_user_exception_handler()
1655 EG(exception) = old_exception; in zend_user_exception_handler()
1675 zend_hash_add_empty_element(&EG(included_files), file_handle->opened_path); in zend_execute_scripts()
1681 if (UNEXPECTED(EG(exception))) { in zend_execute_scripts()
1682 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in zend_execute_scripts()
1685 if (EG(exception)) { in zend_execute_scripts()
1686 zend_exception_error(EG(exception), E_ERROR); in zend_execute_scripts()