Re: Timer
| From: | Sebastian Bergmann | Date: | Wed, 27 Sep 2000 19:25:05 +0000 |
| Subject: | Re: Timer | ||
| References: | 1 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-279@lists.php.net to get a copy of this message | ||
Sebastian Bergmann wrote:
> Find attached a first version of "my" class for profiling PHP scripts.
Sorry, I posted an earlier version of the class and time_elapsed() should
be as follows:
function time_elapsed( $start = "Start", $end = "Stop" )
{
return bcsub( $this->markers[ $end ], $this->markers[ $start ], 6 );
}
--
<?php $a=explode(" " ,"119 130 128 129 45 110 123 124 129 117 114 127 45 ".
"125 117 125 45 117 110 112 120 114 127");for($i=0;$i<sizeof($a);$i++)print
chr($a[$i]-13); /* http://sb.phpOpenTracker.de |
sb@phpOpenTracker.de */ ?>