Commit 0206272ec24 for php
commit 0206272ec24785ce3e4c7561da5902121a2ee2e9
Author: Weilin Du <weilindu@php.net>
Date: Tue Nov 24 00:53:36 2026 +0800
ext/intl: Fix IntlCalendar::setTime() build on PHP 8.5 and later
Drop the obsolete fourth argument to intl_errors_set() when reporting a
non-finite timestamp. The argument was removed in PHP 8.5.
Follow-up to #25668.
diff --git a/ext/intl/calendar/calendar_methods.cpp b/ext/intl/calendar/calendar_methods.cpp
index 630563cbfcf..709f86d51c0 100644
--- a/ext/intl/calendar/calendar_methods.cpp
+++ b/ext/intl/calendar/calendar_methods.cpp
@@ -270,7 +270,7 @@ U_CFUNC PHP_FUNCTION(intlcal_set_time)
if (UNEXPECTED(!zend_finite(time_arg))) {
intl_errors_set(CALENDAR_ERROR_P(co), U_ILLEGAL_ARGUMENT_ERROR,
- "Timestamp must be finite", 0);
+ "Timestamp must be finite");
RETURN_FALSE;
}