PHP Classes

File: example_include.php

Recommend this page to a friend!
  Classes of Zubov Ilya   Solace profiler   example_include.php   Download  
File: example_include.php
Role: Example script
Content type: text/plain
Description: Example included script
Class: Solace profiler
Profiler to analyse the time spent by a script
Author: By
Last change:
Date: 20 years ago
Size: 222 bytes
 

Contents

Class file image Download
<?php

function test($a, $b) // declarations are not counted (no tick)
{
   
$c = $a - $b; // 100 cycles
   
return $c > 0; // 'return' doesn't produce a tick, so it is ignored
} // 1 initial php parser pass

?>