PHP Classes

File: test.php

Recommend this page to a friend!
  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: 10 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));

         
?>