Lines Matching refs:EG
63 # define GLOBAL_CONSTANTS_TABLE EG(zend_constants)
104 EG(error_reporting) = E_ALL; in ZEND_INI_MH()
106 EG(error_reporting) = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH()
169 EG(exception_string_param_max_len) = i; in ZEND_INI_MH()
185 EG(fiber_stack_size) = tmp; in ZEND_INI_MH()
187 EG(fiber_stack_size) = ZEND_FIBER_DEFAULT_C_STACK_SIZE; in ZEND_INI_MH()
604 memset(EG(exception_op), 0, sizeof(EG(exception_op))); in zend_init_exception_op()
605 EG(exception_op)[0].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
606 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)); in zend_init_exception_op()
607 EG(exception_op)[1].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
608 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+1); in zend_init_exception_op()
609 EG(exception_op)[2].opcode = ZEND_HANDLE_EXCEPTION; in zend_init_exception_op()
610 ZEND_VM_SET_OPCODE_HANDLER(EG(exception_op)+2); in zend_init_exception_op()
616 memset(&EG(call_trampoline_op), 0, sizeof(EG(call_trampoline_op))); in zend_init_call_trampoline_op()
617 EG(call_trampoline_op).opcode = ZEND_CALL_TRAMPOLINE; in zend_init_call_trampoline_op()
618 ZEND_VM_SET_OPCODE_HANDLER(&EG(call_trampoline_op)); in zend_init_call_trampoline_op()
992 zend_get_windows_version_info(&EG(windows_version_info)); in zend_startup()
1000 EG(error_reporting) = E_ALL & ~E_NOTICE; in zend_startup()
1068 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_post_startup()
1084 free(EG(zend_constants)); in zend_post_startup()
1085 EG(zend_constants) = NULL; in zend_post_startup()
1088 global_persistent_list = &EG(persistent_list); in zend_post_startup()
1102 zend_destroy_rsrc_list(&EG(persistent_list)); in zend_shutdown()
1166 if (EG(exception)) { in zenderror()
1178 if (!EG(bailout)) { in _zend_bailout()
1187 EG(current_execute_data) = NULL; in _zend_bailout()
1188 LONGJMP(*EG(bailout), FAILURE); in _zend_bailout()
1263 EG(current_execute_data) = NULL; in zend_deactivate()
1280 zend_destroy_rsrc_list(&EG(regular_list)); in zend_deactivate()
1378 if (EG(capture_warnings_during_sccp)) { in zend_error_zstr_at()
1380 EG(capture_warnings_during_sccp)++; in zend_error_zstr_at()
1384 if (EG(record_errors)) { in zend_error_zstr_at()
1393 EG(num_errors)++; in zend_error_zstr_at()
1394 EG(errors) = erealloc(EG(errors), sizeof(zend_error_info*) * EG(num_errors)); in zend_error_zstr_at()
1395 EG(errors)[EG(num_errors)-1] = info; in zend_error_zstr_at()
1399 if (EG(exception)) { in zend_error_zstr_at()
1404 ex = EG(current_execute_data); in zend_error_zstr_at()
1410 EG(opline_before_exception)) { in zend_error_zstr_at()
1411 opline = EG(opline_before_exception); in zend_error_zstr_at()
1413 zend_exception_error(EG(exception), E_WARNING); in zend_error_zstr_at()
1414 EG(exception) = NULL; in zend_error_zstr_at()
1424 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF in zend_error_zstr_at()
1425 || !(EG(user_error_handler_error_reporting) & type) in zend_error_zstr_at()
1426 || EG(error_handling) != EH_NORMAL) { in zend_error_zstr_at()
1451 ZVAL_COPY_VALUE(&orig_user_error_handler, &EG(user_error_handler)); in zend_error_zstr_at()
1452 ZVAL_UNDEF(&EG(user_error_handler)); in zend_error_zstr_at()
1468 orig_record_errors = EG(record_errors); in zend_error_zstr_at()
1469 orig_num_errors = EG(num_errors); in zend_error_zstr_at()
1470 orig_errors = EG(errors); in zend_error_zstr_at()
1471 EG(record_errors) = false; in zend_error_zstr_at()
1472 EG(num_errors) = 0; in zend_error_zstr_at()
1473 EG(errors) = NULL; in zend_error_zstr_at()
1477 EG(record_errors) = orig_record_errors; in zend_error_zstr_at()
1478 EG(num_errors) = orig_num_errors; in zend_error_zstr_at()
1479 EG(errors) = orig_errors; in zend_error_zstr_at()
1488 } else if (!EG(exception)) { in zend_error_zstr_at()
1503 if (Z_TYPE(EG(user_error_handler)) == IS_UNDEF) { in zend_error_zstr_at()
1504 ZVAL_COPY_VALUE(&EG(user_error_handler), &orig_user_error_handler); in zend_error_zstr_at()
1513 if (!(EG(current_execute_data) && in zend_error_zstr_at()
1514 EG(current_execute_data)->func && in zend_error_zstr_at()
1515 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error_zstr_at()
1516 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error_zstr_at()
1517 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error_zstr_at()
1518 EG(exit_status) = 255; in zend_error_zstr_at()
1669 ZEND_ASSERT(!EG(record_errors) && "Error recording already enabled"); in zend_begin_record_errors()
1670 EG(record_errors) = true; in zend_begin_record_errors()
1671 EG(num_errors) = 0; in zend_begin_record_errors()
1672 EG(errors) = NULL; in zend_begin_record_errors()
1677 EG(record_errors) = false; in zend_emit_recorded_errors()
1678 for (uint32_t i = 0; i < EG(num_errors); i++) { in zend_emit_recorded_errors()
1679 zend_error_info *error = EG(errors)[i]; in zend_emit_recorded_errors()
1686 if (!EG(num_errors)) { in zend_free_recorded_errors()
1690 for (uint32_t i = 0; i < EG(num_errors); i++) { in zend_free_recorded_errors()
1691 zend_error_info *info = EG(errors)[i]; in zend_free_recorded_errors()
1696 efree(EG(errors)); in zend_free_recorded_errors()
1697 EG(errors) = NULL; in zend_free_recorded_errors()
1698 EG(num_errors) = 0; in zend_free_recorded_errors()
1711 if (EG(exception) == (void*)(uintptr_t)-1) { in zend_throw_error()
1719 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
1799 if (zend_is_unwind_exit(EG(exception))) { in zend_user_exception_handler()
1803 old_exception = EG(exception); in zend_user_exception_handler()
1804 EG(exception) = NULL; in zend_user_exception_handler()
1806 ZVAL_COPY_VALUE(&orig_user_exception_handler, &EG(user_exception_handler)); in zend_user_exception_handler()
1810 if (EG(exception)) { in zend_user_exception_handler()
1811 OBJ_RELEASE(EG(exception)); in zend_user_exception_handler()
1812 EG(exception) = NULL; in zend_user_exception_handler()
1816 EG(exception) = old_exception; in zend_user_exception_handler()
1841 zend_hash_add_empty_element(&EG(included_files), file_handle->opened_path); in zend_execute_scripts()
1846 if (UNEXPECTED(EG(exception))) { in zend_execute_scripts()
1847 if (Z_TYPE(EG(user_exception_handler)) != IS_UNDEF) { in zend_execute_scripts()
1850 if (EG(exception)) { in zend_execute_scripts()
1851 ret = zend_exception_error(EG(exception), E_ERROR); in zend_execute_scripts()