Unable to call a class in php
<pre><code>&lt;?php
try{

    $test = new TestAccessModifiers("2345","xyz","vfd","a0001","99","67"); /*invoking the class*/

    var_dump($test-&gt;calculate());
}
catch(Exception $e){

    echo $e-&gt;getMessage();
}
?&gt;

&lt;?php 
class TestAccessModifiers {


    function TestAccessModifiers($user_p,$user_fn,$user_ln,$user_id,$marks1,$marks2) {
        echo "hello1";
        $this-&gt;user_phone=$user_p;
        $this-&gt;user_fname=$user_fn;
        $this-&gt;user_lname=$user_ln;
        $this-&gt;user_id=$user_id;
        $this-&gt;marks1=$marks1;
        $this-&gt;marks2=$marks2;


        echo $this-&gt;marks1;
    }
    private  $additional_marks = 10;
    public static function calculate(){


        return $this-&gt;marks1+$this-&gt;marks2+$this-&gt;getAdditionalmarks();

    }

    public function getAdditionalmarks(){

        return $this-&gt;additional_marks;
    }


}
?&gt;
</code></pre>

<p>Above is the simple code i am trying to run... but i am unable to call TestAccessModifiers 
I have tried using _constructor too </p>
