PHP Classes

File: myclasses.php

Recommend this page to a friend!
  Classes of zinsou A.A.E.Moïse   PHP LGCF Loader   myclasses.php   Download  
File: myclasses.php
Role: Auxiliary script
Content type: text/plain
Description: classes for test purposes
Class: PHP LGCF Loader
Load classes and functions when needed
Author: By
Last change: include new version test
Date: 6 years ago
Size: 1,399 bytes
 

Contents

Class file image Download
<?php
// namespace {
CLASS test{
protected
$r,$x,$v;
    public function
__construct($x,$y,$z){
       
$this->x=$x;
       
$this->r=$y;
       
$this->v=$z;
    }
   
    public function
just_for_test(){
        echo
'you call '.__class__ .' object from the file '. __FILE__ .' using lazy loading';
    }
}
CLASS
test1{
protected
$r,$x,$v;
    public function
__construct($x,$y,$z){
       
$this->x=$x;
       
$this->r=$y;
       
$this->v=$z;
    }
    public function
just_for_test(){
        echo
'you call '.__class__ .' object from the file '. __FILE__ .' using lazy loading';
    }
}
// }
// namespace tatao;
CLASS test2{
protected
$r,$x,$v;
    public function
__construct($x,$y,$z){
       
$this->x=$x;
       
$this->r=$y;
       
$this->v=$z;
    }
    public function
just_for_test(){
        echo
'you call '.__class__ . ' object from the file '. __FILE__ .' using lazy loading';
    }
}
CLASS
test3{
protected
$r,$x,$v;
    public function
__construct($x,$y,$z){
       
$this->x=$x;
       
$this->r=$y;
       
$this->v=$z;
    }
    public function
just_for_test(){
        echo
'you call '.__class__ .' object from the file '. __FILE__ .' using lazy loading';
    }
}
CLASS
test4{
protected
$r,$x,$v;
    public function
__construct($x,$y,$z){
       
$this->x=$x;
       
$this->r=$y;
       
$this->v=$z;
    }
    public function
just_for_test(){
        echo
'you call function '. __FUNCTION__ .' of class '.__CLASS__ .' object from the file '. __FILE__ .' using lazy loading';
    }
}
?>