Login   Register  
PHP Classes
elePHPant
Icontem

File: example_include.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 2004-05-22 03:53
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

?>