Commit c0fc6c27210 for php
commit c0fc6c2721085816cc9730f76918d8f544e0ce34
Author: Gina Peter Banyard <girgias@php.net>
Date: Wed Nov 4 14:44:12 2026 +0000
Zend: remove zend_error_noreturn_unchecked()
diff --git a/Zend/zend.c b/Zend/zend.c
index d921c9f74b6..3e489d8d380 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -1756,11 +1756,6 @@ ZEND_NORETURN ZEND_API ZEND_COLD void zend_error_noreturn(int type, const char *
zend_error_noreturn_impl(type, format);
}
-ZEND_NORETURN ZEND_API ZEND_COLD void zend_error_noreturn_unchecked(int type, const char *format, ...)
-{
- zend_error_noreturn_impl(type, format);
-}
-
ZEND_NORETURN ZEND_API ZEND_COLD void zend_strerror_noreturn(int type, int errn, const char *message)
{
#ifdef HAVE_STRERROR_R
diff --git a/Zend/zend.h b/Zend/zend.h
index 4fcbda361fa..2bbf0283991 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -388,7 +388,6 @@ extern ZEND_API void (*zend_accel_schedule_restart_hook)(int reason);
ZEND_API ZEND_COLD void zend_error(int type, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
ZEND_NORETURN ZEND_API ZEND_COLD void zend_error_noreturn(int type, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 2, 3);
-ZEND_NORETURN ZEND_API ZEND_COLD void zend_error_noreturn_unchecked(int type, const char *format, ...);
/* For custom format specifiers like H */
ZEND_API ZEND_COLD void zend_error_unchecked(int type, const char *format, ...);
/* If filename is NULL the default filename is used. */