Look at a folder named 'Benchmark' that comes with php's PEAR. It has a
file named Time.php, and it has nice instructions about how to use it.

--

  Julio Nobrega.

Because happiness is a warm gun
Bang-bang shoot-shoot

"McShen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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?
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to