PHP Classes

File: sample.php

Recommend this page to a friend!
  Classes of Bruce Torres Alvarado   Cronometro   sample.php   Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: sample
Class: Cronometro
Measure the time that passed between two moments
Author: By
Last change:
Date: 18 years ago
Size: 382 bytes


Class file image Download

/* Creating object*/
$cron = new cronometro();
/* Emulating any */
for ($i=0; $i<90000; $i++){
/* Setting the message*/
$cron->setMsg("Esta pagina se cargo en : %s segundos");
/* Setting the decimal */
/* Show result*/
/* Finish sample */