From: Kai Schroeder Date: Sat, 17 Jul 2010 22:47:13 +0000 (+0000) Subject: Test for #48187 X-Git-Tag: php-5.3.3~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1fb44660d9de696d145c508078797f6a2b7a9a2;p=php Test for #48187 --- diff --git a/ext/date/tests/bug48187.phpt b/ext/date/tests/bug48187.phpt new file mode 100644 index 0000000000..24a295ddd6 --- /dev/null +++ b/ext/date/tests/bug48187.phpt @@ -0,0 +1,26 @@ +--TEST-- +Bug #48187 (DateTime::diff() corrupting microtime() result) +--FILE-- + +--EXPECTF-- +string(36) "microtime() difference less 1 second" +string(31) "time() difference less 1 second" \ No newline at end of file