Location: PHPKode > scripts > TX class > tx-class/example.php
<?php
// and the EXAMPLE :
include "tx.class.php";
$timer=new TX;
echo "echo() function: ";
$timer->start();
echo "Time: ";
$timer->stop();
echo $timer->get_time()." seconds";
echo "<br>";
echo "print() function: ";
$timer->start();
print "Time: ";
$timer->stop();
print $timer->get_time()." seconds";
?>
Return current item: TX class