PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Name Removed   Brainf_uck Interpreter Class   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Brainf_uck Interpreter Class
Interpret and execute Brainf_uck language code
Author: By
Last change: .
Date: 7 years ago
Size: 398 bytes
 

Contents

Class file image Download
<?php

/****
****
*** @ Brainf_ck interpreter class
*** @ Developed by Takis Maletsas
****
****/

require "bf.class.php";

//Hello world!

new Brainfuck("

+++ +++ +++ +
[
    > +++ +++ +
    > +++ +++ +++ +
    > +++
    > +
    <<< < -
]
> ++ .
> + .
+++ +++ + .
.
+++ .
> ++ .
<< +++ +++ +++ +++ +++ .
> .
+++ .
--- --- .
--- --- -- .
> + .
> .

"
);

?>