summaryrefslogtreecommitdiff
path: root/Zend/tests/bug61761.phpt
blob: 631f566eaa35ad1b01594db5abe554562754e481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Bug #61761 ('Overriding' a private static method with a different signature causes crash)
--FILE--
<?php

class A
{
        private static function test($a) { }
}

class B extends A
{
        private static function test($a, $b) { }
}

?>
--EXPECTF--
Strict Standards: Declaration of B::test() should be compatible with A::test($a) in %sbug61761.php on line %d