Re: please help.

From: Date: Wed, 18 Jul 2001 16:20:23 +0000
Subject: Re: please help.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-58468@lists.php.net to get a copy of this message
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" <hshen@crosswinds.net> wrote in message news:20010718155954.69378.qmail@pb1.pair.com... > 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? > >

« previous php.general (#58468) next »