mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
14 lines
247 B
PHP
14 lines
247 B
PHP
--TEST--
|
|
Ensure private methods with the same name are not checked for inheritance rules - abstract
|
|
--FILE--
|
|
<?php
|
|
class A {
|
|
private function test() {}
|
|
}
|
|
abstract class B extends A {
|
|
abstract function test();
|
|
}
|
|
echo 'OK';
|
|
?>
|
|
--EXPECT--
|
|
OK
|