PHP Classes

File: Example

Recommend this page to a friend!
  Classes of Enrique Domínguez  >  phpCheckTime  >  Example  >  Download  
File: Example
Role: Example script
Content type: text/plain
Description: Example file that demonstrates how to use this utility
Class: phpCheckTime
Measure the time a script takes to run
Author: By
Last change:
Date: 17 years ago
Size: 757 bytes


Class file image Download
 * Ejemplo para phpCheckTime.class.php


$object = new phpCheckTime; // Creacion del objeto phpCheckTime

$object->start(); // start del cronometro...

        <title>ejemplin de generacion de html</title>




echo "Primer tiempo:".$object->getTime()."<br>"; // primera toma de tiempos...

echo "<br>Tiempo parado...<br><br>";

"Segundo tiempo:".$object->getTime()."<br>"; // segunda toma de tiempos...

echo "<br>Resume...<br><br>";

"Tercer tiempo:".$object->getTime()."<br>"; // tercera toma de tiempos...

echo "<br>Parada final...<br><br>";


For more information send a message to info at phpclasses dot org.