Fix bug-gh11600.phpt

This commit is contained in:
Ilija Tovilo 2023-07-12 14:54:56 +02:00
parent 892704267c
commit 57229836d4
No known key found for this signature in database
GPG Key ID: A4F5D403F118200A

View File

@ -1,6 +1,5 @@
--TEST--
Bug GH-11600: Intl patterns are not parseable DateTime Strings
--XFAIL--
--EXTENSIONS--
intl
--INI--
@ -12,7 +11,7 @@ $pattern = $formatter->getPattern();
$timeString = $formatter->format(strtotime('2023-07-11 16:02'));
$timestamp = strtotime($timeString);
$timestamp = strtotime("2023-07-11 {$timeString}");
var_dump($pattern, $timeString, $timestamp);
?>