Fix bug-gh11600.phpt to work with different ICU versions

This commit is contained in:
Niels Dossche 2023-07-11 23:39:06 +02:00
parent 3552a1be97
commit 9c47f33a5f

View file

@ -1,5 +1,7 @@
--TEST--
Bug GH-11600: Intl patterns are not parseable DateTime Strings
--EXTENSIONS--
intl
--INI--
date.timezone=UTC
--FILE--
@ -14,6 +16,6 @@ $timestamp = strtotime($timeString);
var_dump($pattern, $timeString, $timestamp);
?>
--EXPECTF--
string(8) "h:mma"
string(9) "4:02PM"
string(%d) "h:mm%sa"
string(%d) "4:02%sPM"
int(1689091320)