PHP Classes

File: example.php

Recommend this page to a friend!
  Packages of zinsou A.A.E.Moïse   PHP LGCF Loader   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: first example file
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: 1,039 bytes
 

 

Contents

Class file image Download
<?php 
require('PersistentGlobalsMaker.php');
require_once('LGCF_Loader.class.php'); 

// pgm_check_and_start('_LGCF_LOADER');
// $_LGCF_LOADER->clear();
echo'<pre>';

// var_dump($_LGCF_LOADER);


    $x=call_Gcl('test1',array(4,5,6));
    var_dump($x);
    print($x->just_for_test());
    echo'<br>';
    
    $x=new test2(4,5,6);
    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>';
    $x=call_Gcl('test',array(4,7,6));
    print($x->just_for_test());
    echo'<br>';
call_glfunc('kakao\Show_me_hello');


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

echo call_glfunc('add',[1,2]);    echo'<br>';
echo call_glfunc('product',[1,2]);    echo'<br>';
echo call_glfunc('divide',[1,2]);    echo'<br>';
echo call_glfunc('substract',[1,2]);    echo'<br>';
echo substract (1,2);    echo'<br>';

$x=new test(4,5,6);
    print($x->just_for_test());
    echo'<br>';
    
    echo add(1,2);    echo'<br>';
?>