The following code will lead to an error
Access level to B::__construct() must be public (as in class A)
class A
{
public function __construct(){}
}
class B extends A
{
private function __construct()
{
parent::__construct();
}
}
$B = new B();
?>
Weird...