Skip to content

Commit 66555a9

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Fix bug-gh11600.phpt to work with different ICU versions
2 parents 59f6d08 + 9c47f33 commit 66555a9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ext/date/tests/bug-gh11600.phpt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
--TEST--
22
Bug GH-11600: Intl patterns are not parseable DateTime Strings
3+
--EXTENSIONS--
4+
intl
35
--INI--
46
date.timezone=UTC
57
--FILE--
@@ -14,6 +16,6 @@ $timestamp = strtotime($timeString);
1416
var_dump($pattern, $timeString, $timestamp);
1517
?>
1618
--EXPECTF--
17-
string(8) "h:mm a"
18-
string(9) "4:02 PM"
19+
string(%d) "h:mm%sa"
20+
string(%d) "4:02%sPM"
1921
int(1689091320)

0 commit comments

Comments
 (0)