- microtime: documentation ( source)
- number_format: documentation ( source)
<?php
$time = microtime(true);
echo 'a'.'<a';
$time = microtime(true) - $time;
echo 'array_diff() took ' . number_format($time, 3) . ' seconds and returned ' . count($data_diff1) . " entries\n";