<?php
 
/**
 
 * @ignore
 
 * @package ignore
 
 */
 
 
package TestNamespace;
 
import TestNamespace2;
 
 
/**
 
 * @ignore
 
 */
 
class TestClass extends TestClass2 implements TestInterface {
 
    static $test = "Hi!\n";
 
    const TEST_CONSTANT = "This is a constant!\n";
 
    
 
    function __construct($test) {
 
        echo "$test\n";
 
    }
 
    
 
    static function testStatic($test) {
 
        trigger_error('Ouch');
 
        echo "static: $test\n";
 
    }
 
    
 
    function test() {
 
        $test = new TestClass2('Bye World!');
 
    }
 
}
 
?>
 
 
 |