Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Omar Ortiz  >  Debug Time  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example file
Class: Debug Time
Measure the time it takes to execute a PHP script
Author: By
Last change:
Date: 2013-01-02 09:27
Size: 254 bytes
 

Contents

Class file image Download
<?
require_once("cDebugTime.php");
$debug = new cDebugTime();
?>
<html>
<body>
<h1>example</h1>
<?
$debug
->setMark("1st mark");
sleep(2);
$debug->setMark("2nd mark");
sleep(1);
$debug->setMark("3th mark");
print 
$debug;
?>
</body>
</html>