php-src/Zend/tests/objects_009.phpt

24 lines
303 B
Plaintext
Raw Normal View History

--TEST--
method overloading with different method signature
--INI--
error_reporting=8191
--FILE--
<?php
class test {
2020-02-03 21:52:20 +00:00
function foo(Test $arg) {}
}
class test2 extends test {
2020-02-03 21:52:20 +00:00
function foo(Test $arg) {}
}
class test3 extends test {
2020-02-03 21:52:20 +00:00
function foo($arg) {}
}
echo "Done\n";
?>
2017-01-01 14:53:24 +00:00
--EXPECT--
Done