Skip to content

Commit 64d8b2a

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: intl: Fix tests for icu update
2 parents 1e7deee + 6333ca8 commit 64d8b2a

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
@@ -29,4 +29,4 @@ echo "msgf2: ", $msgf->format(array($time, 'date')), " ",
2929
?>
3030
--EXPECTF--
3131
Deprecated: Calling IntlGregorianCalendar::__construct() with more than 2 arguments is deprecated, use either IntlGregorianCalendar::createFromDate() or IntlGregorianCalendar::createFromDateTime() instead in %s on line %d
32-
quinta-feira, 17 de maio de 2012 5:35:36 da tarde ptlis
32+
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
@@ -19,12 +19,12 @@ var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED))
1919
var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_GENERIC_LOCATION));
2020

2121
?>
22-
--EXPECT--
23-
string(3) "GMT"
22+
--EXPECTF--
23+
string(%d) "%r(GMT|GMT\+0)%r"
2424
string(30) "Western European Standard Time"
2525
string(13) "Portugal Time"
2626
string(21) "Western European Time"
2727
string(5) "+0000"
28-
string(3) "GMT"
29-
string(3) "GMT"
28+
string(%d) "%r(GMT|GMT\+00:00)%r"
29+
string(%d) "%r(GMT|GMT\+0)%r"
3030
string(13) "Portugal Time"

0 commit comments

Comments
 (0)