PHP Classes

File: examples/example2.php

Recommend this page to a friend!
  Packages of zinsou A.A.E.Moïse   PHP LGCF Loader   examples/example2.php   Download  
File: examples/example2.php
Role: Example script
Content type: text/plain
Description: example script
Class: PHP LGCF Loader
Load classes and functions when needed
Author: By
Last change: add new version 3.0.0 changes
Date: 8 years ago
Size: 798 bytes
 

 

Contents

Class file image Download
<?php

require('../PersistentGlobalsMaker.php');
require_once('../LGCF_Loader.class.php');




echo'<pre>';
$t=microtime(true);
$x=new test(4,7,6);
print($x->just_for_test());
echo '<br>'.(microtime(true)-$t).'<br>';
echo'<br>';

$t=microtime(true);
$x=call_gcl('test1',array(4,5,6));
echo '<br>'.(microtime(true)-$t).'<br>';
print($x->just_for_test());
echo'<br>';

$t=microtime(true);
$x=call_gcl('test2',array(4,5,6));
echo '<br>'.(microtime(true)-$t).'<br>';
print($x->just_for_test());

echo'<br>';

$x=call_gcl('test3',array(4,5,6));
print($x->just_for_test());
echo'<br>';

$x=call_gcl('test4',array(4,5,6));
print($x->just_for_test());
echo'<br>';


    
call_glfunc('kakao\Show_me_hello');


foreach(kakao\fortest() as $x){
echo $x.'<br>';
}


?>