note 55061 deleted from function.microtime by didou
| From: | didou@php.net | Date: | Mon, 15 Aug 2005 12:10:59 +0000 |
| Subject: | note 55061 deleted from function.microtime by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-93677@lists.php.net to get a copy of this message | ||
Note Submitter: sobstel at sopel dot webd dot pl
----
in PHP 5 the following is enough :
<?php
$start = microtime(true);
// code
$end = microtime(true);
$gen_time = $end - $start;
?>
that's all. it should be written in manual anyway