Skip to content

Commit 78e3d05

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: intl: Fix tests for icu update
2 parents 0d57840 + 4b63315 commit 78e3d05

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

ext/intl/tests/msgfmt_format_intlcalendar_variant4.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
3131
?>
3232
--EXPECTF--
3333
Deprecated: Calling IntlGregorianCalendar::__construct() with more than 2 arguments is deprecated, use either IntlGregorianCalendar::createFromDate() or IntlGregorianCalendar::createFromDateTime() instead in %s on line %d
34-
quinta-feira, 17 de maio de 2012 5:35:36 da tarde ptlis
34+
quinta-feira, 17 de maio de 2012 5:35:36 %r(da tarde|p.m.)%r ptlis

ext/intl/tests/timezone_getDisplayName_variant4.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED))
2323
var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_GENERIC_LOCATION));
2424

2525
?>
26-
--EXPECT--
27-
string(3) "GMT"
26+
--EXPECTF--
27+
string(%d) "%r(GMT|GMT\+0)%r"
2828
string(30) "Western European Standard Time"
2929
string(13) "Portugal Time"
3030
string(21) "Western European Time"
3131
string(5) "+0000"
32-
string(3) "GMT"
33-
string(3) "GMT"
32+
string(%d) "%r(GMT|GMT\+00:00)%r"
33+
string(%d) "%r(GMT|GMT\+0)%r"
3434
string(13) "Portugal Time"

0 commit comments

Comments
 (0)