please help.
| From: | McShen | Date: | Wed, 18 Jul 2001 16:07:42 +0000 |
| Subject: | please help. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-58461@lists.php.net to get a copy of this message | ||
hi
I wanna see how long my scripts load. So, i copied this script from
phpbuilder
-------
<?php
$timeparts = explode(" ",microtime());
$starttime = $timeparts[1].substr($timeparts[0],1);
$timeparts = explode(" ",microtime());
$endtime = $timeparts[1].substr($timeparts[0],1);
echo bcsub($endtime,$starttime,6)
?>
----------
But i am not sure where to put that part. Can i put it anywhere within my
script? And bcsub() is not install on my server. What other fuctions can i
use? can i just use $endtime-$starttime?