#!/usr/bin/php -q <?
/**
 * doxyphp v0.1b - Doxygen INPUT_FILTER for PHP.
 * example....
 */
$a 1;
$d 1;

/**
 * FOO_BAR - Enter description here...
 */
define("FOO_BAR""foo bar");

/**
 * FooBase - Enter description here...
 */
class FooBase {
    
/**
     * foo1 - Enter description here...
     */
    
public function foo1() {
    }
}

/**
 * Foo - Enter description here...
 */
class Foo extends FooBase {
    
    
/**
     * bar - Enter description here...
     * @var Bar
     */
    
public $bar;
    
    
/**
     * foo1 - Enter description here...
     */
    
public function foo1() {
        
$this->foo2();
        
parent::foo1();
    }
    
    
/**
     * foo2 - Enter description here...
     */
    
public function foo2() {
        print 
"foo";
        
$this->bar->bar2();
    }
}

/**
 * Bar - Enter description here...
 */
class Bar {
    
/**
     * bar1 - Enter description here...
     * @param Foo $foo Enter description here...
     * @param string $str Enter description here...
     * @return bool
     */
    
public static function bar1($foo$str) {
        
$foo->foo1();
        
$foo2 = new Foo();
        
/* @var $foo2 Foo */
        
$foo2->foo2();
        
self::bar2();
    }
    
    
/**
     * bar2 - Enter description here...
     */
    
public static function bar2() {
        
$a 2;
        
$ddd $a FOO_BAR;
        print 
"bar";
    }
}
?>