xref: /PHP-8.1/Zend/tests/bug62956.phpt (revision f8d79582)
1--TEST--
2Bug #62956: "incompatible" signatures for private methods should not cause E_WARNING
3--FILE--
4<?php
5class Base
6{
7    private function test()
8    {}
9}
10
11class Extension extends Base
12{
13    private function test($arg)
14    {}
15}
16
17?>
18==DONE==
19--EXPECT--
20==DONE==
21