<?php $microtime = microtime(); $end_time = ($microtime - $start_time); $end_array = explode(' ', $end_time); $end_time = $end_array[1] + $end_array[0]; $time = $end_time - $start_time; printf('Генерация %f с', $time); ?>