1
0
mirror of synced 2025-01-18 06:21:40 +03:00

fixing example to follow coding standard

This commit is contained in:
meus 2007-08-13 19:07:34 +00:00
parent 8def32d0e3
commit 3bf396c06c

View File

@ -16,12 +16,12 @@ Perhaps some of your pages is loading slowly. The following shows how to build a
<code type="php">
$time = 0;
foreach($profiler as $event){
foreach ($profiler as $event) {
$time += $event->getElapsedSecs();
echo $event->getName() . " " . sprintf("%f", $event->getElapsedSecs()) . "<br>\n";
echo $event->getQuery() . "<br>\n";
$params = $event->getParams();
if(!empty($params)){
if( ! empty($params)) {
var_dump($params);
}
}