PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Till Wehowski   aSQL CLI   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: aSQL CLI
Parse and extract a command line arguments string
Author: By
Last change: - using class Test and its method test
Date: 9 years ago
Size: 500 bytes
 

Contents

Class file image Download
<?php
error_reporting
(E_ALL);

$dir_lib = __DIR__. DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR;

$file = $dir_lib.'frdl' .DIRECTORY_SEPARATOR.'aSQL'.DIRECTORY_SEPARATOR. 'Engines'.DIRECTORY_SEPARATOR.'Terminal'.DIRECTORY_SEPARATOR.'CLI.php';

$testfile = $dir_lib.'frdl' .DIRECTORY_SEPARATOR.'aSQL'.DIRECTORY_SEPARATOR. 'Engines'.DIRECTORY_SEPARATOR.'Terminal'.DIRECTORY_SEPARATOR.'Test.php';

require
$file;
require
$testfile;

$Terminal = new frdl\aSQL\Engines\Terminal\Test();