File: example/index.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq  >  PHP Benchmark Timer Class  >  example/index.php  >  Download  
File: example/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Benchmark Timer Class
Measure the time that passed within a code section
Author: By
Last change:
Date: 2 years ago
Size: 227 bytes


Class file image Download

require_once '../vendor/autoloader.php';

$bench = new Lablnet\Benchmark();

$x = 1;
while (
$x <= 100) {
"hay i'm $x<br>";
"elapse time {$bench->elapsedTime()}";

For more information send a message to info at phpclasses dot org.