xref: /PHP-8.0/Zend/tests/objects_009.phpt (revision f8d79582)
1--TEST--
2method overloading with different method signature
3--INI--
4error_reporting=8191
5--FILE--
6<?php
7
8class test {
9    function foo(Test $arg) {}
10}
11
12class test2 extends test {
13    function foo(Test $arg) {}
14}
15
16class test3 extends test {
17    function foo($arg) {}
18}
19
20echo "Done\n";
21?>
22--EXPECT--
23Done
24