1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/traits/abstract_method_7.phpt

24 lines
368 B
PHP

--TEST--
Abstract private trait method forwarded as abstract protected method
--FILE--
<?php
trait T {
abstract private function method(int $a, string $b);
}
abstract class C {
use T;
abstract protected function method(int $a, string $b);
}
class D extends C {
protected function method(int $a, string $b) {}
}
?>
===DONE===
--EXPECT--
===DONE===