simple static method issue
<p>I have a question regarding the abstract class</p>

<p>I have</p>

<pre><code>abstract class testMaster
{

    public function __construct($b, $a)
    {
        $this-&gt;a = $a;
        $this-&gt;b = $b;
    }

    public static function create($test)
    {
        //handle test
        switch($test) {
         case 'test1':
            require_once 'test1.class';
            return new test1($a, $v);
            break;
         case 'test2':
         case 'test3':
             require_once 'test2.class';
             return new test2($a, $v);
             break;


        }
    }

class tester extends testMaster{

    codes...

}
</code></pre>

<p>My question is </p>

<p>if I want to call static '<code>create</code>' method, how to call it.</p>

<p>I used <code>testMaster::create()</code> but it doesn't seem to return anything. Any tips? Thanks so much!</p>
