1--TEST--
2Final private constructors cannot be overridden
3--FILE--
4<?php
5
6class Base
7{
8    private final function __construct()
9    {
10    }
11}
12class Extended extends Base
13{
14    public function __construct()
15    {
16    }
17}
18
19?>
20--EXPECTF--
21Fatal error: Cannot override final method Base::__construct() in %s on line %d
22