Timer

From: Date: Wed, 27 Sep 2000 16:06:24 +0000
Subject: Timer
Groups: php.pear 
Request: Send a blank email to php-pear+get-276@lists.php.net to get a copy of this message
Today I came across a class called PHP_Timer by Allan Kent <allan@itsolutions.co.za>, which he explained in his article "Timing Script Execution" on PHPBuilder.com (http://www.phpbuilder.com/columns/akent20000926.php3). I found his approach to the problem interesting ad thought it might be a nice-to-have-in-PEAR class. So I took his code, streamlined it a bit and added a little more flexibility for starters. Find attached a first version of "my" class for profiling PHP scripts. Currently I'm wondering what features could be added and hope for your input. I send a CC of this mail to Allan in the hope that he approves of my modifications of his code in order to added it to PEAR. -- <?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 */ ?>

« previous php.pear (#276) next »