From 9c47f33a5f294c2510b4147ff9bc9f1f28bfbb13 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Tue, 11 Jul 2023 23:39:06 +0200 Subject: [PATCH] Fix bug-gh11600.phpt to work with different ICU versions --- ext/date/tests/bug-gh11600.phpt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ext/date/tests/bug-gh11600.phpt b/ext/date/tests/bug-gh11600.phpt index 29040a1686a..78829d7a2dc 100644 --- a/ext/date/tests/bug-gh11600.phpt +++ b/ext/date/tests/bug-gh11600.phpt @@ -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:mm a" -string(9) "4:02 PM" +string(%d) "h:mm%sa" +string(%d) "4:02%sPM" int(1689091320)