From: Derick Rethans Date: Fri, 24 Mar 2017 11:39:32 +0000 (+0000) Subject: Added a test case to make sure microseconds work. X-Git-Tag: php-7.1.4RC1~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee49d4b4be730af17881dada989d9e1d9110079b;p=php Added a test case to make sure microseconds work. --- diff --git a/ext/date/tests/bug73837.phpt b/ext/date/tests/bug73837.phpt new file mode 100644 index 0000000000..220deb6121 --- /dev/null +++ b/ext/date/tests/bug73837.phpt @@ -0,0 +1,17 @@ +--TEST-- +Bug #73837: Milliseconds in DateTime() +--FILE-- +format( "u" ); + $collect[$key] = true; +} + +echo ( count( $collect ) > 990 ) ? "microseconds differ\n" : "microseconds do not differ enough\n"; +?> +--EXPECT-- +microseconds differ