php-src/Zend/tests/bug77613.phpt

20 lines
241 B
PHP

--TEST--
Bug #77613 (method visibility change)
--FILE--
<?php
class A {
public function __construct() {
static $foo;
}
}
class B extends A { }
class C extends B {
private function __construct() {}
}
?>
OK
--EXPECT--
OK