Login   Register  
PHP Classes
elePHPant
Icontem

File: Lib/functions.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Alex Dan  >  Expressions  >  Lib/functions.php  >  Download  
File: Lib/functions.php
Role: Auxiliary script
Content type: text/plain
Description: Expression Example functions file
Class: Expressions
Parse, convert and evaluate math expressions
Author: By
Last change:
Date: 2 years ago
Size: 447 bytes
 

Contents

Class file image Download
<?php
if (!function_exists('_autoload')) {
    function 
_autoload ($name)
    {
        
$filePath '';
        
$nameSlices explode ('_'$name);
        
$fileName array_pop($nameSlices).'.php';
        
$filePath APP_PATH.'/Lib'.DIRECTORY_SEPARATOR.implode(DIRECTORY_SEPARATOR$nameSlices).DIRECTORY_SEPARATOR.$fileName;
        include_once(
$filePath);
    }
}

function 
print_p($var){
    
print_r ($var);
    echo (
"\n");
}