[php-src] master: Merge branch 'PHP-8.6'
| From: | Weilin Du | Date: | Mon, 23 Nov 2026 16:58:26 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.6' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-144075@lists.php.net to get a copy of this message | ||
Author: Weilin Du (LamentXU123)
Date: 2026-11-24T00:56:53+08:00
Commit: https://github.com/php/php-src/commit/2550ff2bac5f1a3bdf3fcf361e0194baff33d865
Raw diff: https://github.com/php/php-src/commit/2550ff2bac5f1a3bdf3fcf361e0194baff33d865.diff
Merge branch 'PHP-8.6'
* PHP-8.6:
ext/intl: Fix IntlCalendar::setTime() build on PHP 8.5 and later
Changed paths:
M ext/intl/calendar/calendar_methods.cpp
Diff:
diff --git a/ext/intl/calendar/calendar_methods.cpp b/ext/intl/calendar/calendar_methods.cpp
index 6a575c225f5b..c128e21d2c78 100644
--- a/ext/intl/calendar/calendar_methods.cpp
+++ b/ext/intl/calendar/calendar_methods.cpp
@@ -263,7 +263,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;
}