1--TEST-- 2Bug #75222 DateInterval microseconds property always 0 3--FILE-- 4<?php 5 6$dt1 = new \DateTimeImmutable('2017-01-01T00:00:00.000000Z'); 7$dt2 = new \DateTimeImmutable('2017-01-01T00:00:00.123456Z'); 8$diff = $dt1->diff($dt2); 9//var_dump($diff); 10var_dump($diff->f); 11var_dump(get_object_vars($diff)['f']); 12var_dump($diff->f === get_object_vars($diff)['f']); 13?> 14--EXPECTF-- 15float(0.123456) 16float(0.123456) 17bool(true) 18