cvs: pear /Benchmark Timer.php
| From: | Alan Knowles | Date: | Mon, 12 Aug 2002 07:53:57 +0000 |
| Subject: | cvs: pear /Benchmark Timer.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5695@lists.php.net to get a copy of this message | ||
alan_k Mon Aug 12 03:53:57 2002 EDT
Modified files:
/pear/Benchmark Timer.php
Log:
fixed E_ALL warning for uninitialized dash
Index: pear/Benchmark/Timer.php
diff -u pear/Benchmark/Timer.php:1.4 pear/Benchmark/Timer.php:1.5
--- pear/Benchmark/Timer.php:1.4 Fri Jul 12 13:30:56 2002
+++ pear/Benchmark/Timer.php Mon Aug 12 03:53:57 2002
@@ -16,7 +16,7 @@
// | Authors: Sebastian Bergmann <sb@sebastian-bergmann.de> |
// +----------------------------------------------------------------------+
//
-// $Id: Timer.php,v 1.4 2002/07/12 17:30:56 sebastian Exp $
+// $Id: Timer.php,v 1.5 2002/08/12 07:53:57 alan_k Exp $
//
/**
@@ -47,7 +47,7 @@
* auto profiling and get_output() method
*
* @author Sebastian Bergmann <sb@sebastian-bergmann.de>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
* @access public
*/
@@ -122,6 +122,7 @@
}
$total = $this->TimeElapsed();
$result = $this->getProfiling();
+ $dashes = "";
if ($http) {
$out = "<table border=1>\n";
$out .= '<tr><td> </td><td
align="center"><b>time index</b></td><td
align="center"><b>ex time</b></td><td
align="center"><b>%</b></td></tr>'."\n";
@@ -254,4 +255,4 @@
return $result;
}
}
-?>
\ No newline at end of file
+?>