xref: /PHP-7.4/Zend/tests/bug77613.phpt (revision 43a7d950)
1--TEST--
2Bug #77613 (method visibility change)
3--FILE--
4<?php
5class A {
6    public function __construct() {
7        static $foo;
8    }
9}
10
11class B extends A { }
12
13class C extends B {
14    private function __construct() {}
15}
16?>
17OK
18--EXPECT--
19OK
20