From 15d8c80ead75be976c18a66b0933cf52f3e6579f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 5 Jun 2014 14:00:00 +0200 Subject: [PATCH] add test for previous fix --- ext/date/tests/bug67118_2.phpt | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ext/date/tests/bug67118_2.phpt diff --git a/ext/date/tests/bug67118_2.phpt b/ext/date/tests/bug67118_2.phpt new file mode 100644 index 0000000000..b517a3bd38 --- /dev/null +++ b/ext/date/tests/bug67118_2.phpt @@ -0,0 +1,35 @@ +--TEST-- +Regression introduce in fix for Bug #67118 +--INI-- +date.timezone=Europe/Paris +--FILE-- + +Done +--EXPECTF-- +First try +Second try +object(Foo)#1 (3) { + ["date"]=> + string(26) "2007-09-12 15:49:12.000000" + ["timezone_type"]=> + int(3) + ["timezone"]=> + string(3) "UTC" +} +Done \ No newline at end of file -- 2.49.0