<?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(); ?>