PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
  Classes of Leandro Lucarella  >  Timer  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example php file with simple use.
Class: Timer
Timer class
Author: By
Last change:
Date: 15 years ago
Size: 352 bytes
 

Contents

Class file image Download
<?php
 
require_once "Timer.php";
 
$timer = new Timer();
?>
<HTML>
  <HEAD>
    <TITLE>Test Page (elapsed time: <?= $timer->elapsed() ?> seconds)</TITLE>
  </HEAD>
  <BODY>
    This is a simple test page.
    Elapsed time: <?= $timer->elapsed() ?> seconds.
  </BODY>
</HTML>
<!-- Final elapsed time: <?= $timer->elapsed() ?> seconds. -->