summaryrefslogtreecommitdiff
path: root/tests/classes/inheritance_008.phpt
blob: 2bc2783e2c563728b3a52e74e9e01472bb91682c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Ensure private methods with the same name are not checked for inheritance rules - static
--FILE--
<?php
class A {
    static private function foo() { }
    private function bar() {}
}
class B extends A {
    private function foo() {}
    static private function bar() {}
}
echo 'OK';
?>
--EXPECT--
OK