PHP Classes

File: example.php

Recommend this page to a friend!
  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: 11 years ago
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>