Abstract class not working
<p>I am trying to learn OOPs- abstract classes. I am getting an error in the below code. Please help me in rectifying the error.</p>

<pre><code>abstract class newClass{
    final public function __construct(){
        echo 'You failed xD';
    }    
}

class MyClass extends newClass{
    public function __construct(){
        echo 'Will this work?';
    }

    public static function myFunc(){
        echo 'FooBar';
    }
}

$init = new MyClass();
$init::myFunc();
</code></pre>

<p>This gives me the below error.</p>

<p>Fatal error: Cannot override final method newClass::__construct() </p>
