--TEST--
MongoDB\BSON\UTCDateTime::toDateTime() dumping seconds and microseconds
--INI--
date.timezone=UTC
--FILE--
<?php
$utcdatetime = new MongoDB\BSON\UTCDateTime("1416445411987");
$datetime = $utcdatetime->toDateTime();
echo $datetime->format('U.u'), "\n";
?>
===DONE===
<?php exit(0); ?>
--EXPECT--
1416445411.987000
===DONE===
Back to Directory