1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.2'

* PHP-8.2:
  Fix bug-gh11600.phpt to work with different ICU versions
This commit is contained in:
Niels Dossche
2023-07-12 10:36:26 +02:00

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)