[php-src] PHP-8.6: Merge branch 'PHP-8.5' into PHP-8.6
| From: | Weilin Du | Date: | Mon, 23 Nov 2026 16:58:26 +0000 |
| Subject: | [php-src] PHP-8.6: Merge branch 'PHP-8.5' into PHP-8.6 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-144074@lists.php.net to get a copy of this message | ||
Author: Weilin Du (LamentXU123)
Date: 2026-11-24T00:56:44+08:00
Commit: https://github.com/php/php-src/commit/8ca3c1d3200881bbadbb834df5024ad6968fe7fe
Raw diff: https://github.com/php/php-src/commit/8ca3c1d3200881bbadbb834df5024ad6968fe7fe.diff
Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5:
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 676716b166e5..5738bd34837e 100644
--- a/ext/intl/calendar/calendar_methods.cpp
+++ b/ext/intl/calendar/calendar_methods.cpp
@@ -264,7 +264,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;
}