PHP Classes
elePHPant
Icontem

File: test.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Muhammad Arfeen  >  BASIC Language Parser  >  test.php  >  Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Sample script
Class: BASIC Language Parser
Parse BASIC language statements
Author: By
Last change:
Date: 3 years ago
Size: 302 bytes
 

Contents

Class file image Download
<?php

include "BasicLanguageParser.php";

$qry = 'IF (SOMETHING > 100) THEN DO THIS
                ELSE
                    IF (SOMETHING =SOMTHING) THEN
                        DO WATEVER
                    ELSE
                        DO THAT
                END'
;

       
$lang = new BasicLanguageParser();
       
       
print_r($lang->prepareParser($qry));

         
?>