From: Semen Dubina Date: Mon, 10 Sep 2018 22:26:02 +0000 (+0300) Subject: Add regression test for bug #76770 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=959d3c9636fd070c554b281da221899638e2fe99;p=php Add regression test for bug #76770 Closes GH-3514. --- diff --git a/ext/date/tests/bug76770.phpt b/ext/date/tests/bug76770.phpt new file mode 100644 index 0000000000..9d01bf1d61 --- /dev/null +++ b/ext/date/tests/bug76770.phpt @@ -0,0 +1,8 @@ +--TEST-- +Bug #76770 'U' modifier in 'datetime::createFromFormat' adds seconds to other specifiers +--FILE-- +getTimestamp()); +?> +--EXPECT-- +int(3600)