From: Remi Collet Date: Thu, 5 Jun 2014 12:00:00 +0000 (+0200) Subject: add test for previous fix X-Git-Tag: php-5.4.30RC1~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15d8c80ead75be976c18a66b0933cf52f3e6579f;p=php add test for previous fix --- 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