#!/usr/local/bin/php
<?php
    
/**
    * o------------------------------------------------------------------------------o
    * | This package is licensed under the Phpguru license 2008. A quick summary is  |
    * | that the code is free to use for non-commercial purposes. For commercial     |
    * | purposes of any kind there is a small license fee to pay. You can read more  |
    * | at:                                                                          |
    * |                  http://www.phpguru.org/static/license.html                  |
    * o------------------------------------------------------------------------------o
    *
    * © Copyright 2008 Richard Heyes
    */

    
require_once('./Menu.php');

    
$menu[] = array('text' => 'First item''func' => 'menu_item1');
    
$menu[] = array('text' => 'Second item''func' => 'menu_item2');

    function 
Menu_item1()
    {
        exit;
    }

    function 
Menu_item2()
    {
        exit;
    }

    
Console_Menu::Display('This is a sample menu'$menu);
?>