Location: PHPKode > scripts > Brainf Interpreter > brainf-interpreter/bf.test.php
<?php

/**
 * Brainf*ck example usage.
 */

require("bf.class.php");

// Create a new bf object
$bf = new bf();

// Load helloworld.b
$bf->load("helloworld.b");

// Start parsing
echo $bf->execute();

?>
Return current item: Brainf Interpreter