mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
22 lines
238 B
PHP
22 lines
238 B
PHP
--TEST--
|
|
Using the same function name on interface with inheritance
|
|
--FILE--
|
|
<?php
|
|
|
|
interface Itest {
|
|
function a();
|
|
}
|
|
|
|
interface Itest2 {
|
|
function a();
|
|
}
|
|
|
|
interface Itest3 extends Itest, Itest2 {
|
|
}
|
|
|
|
echo "done!\n";
|
|
|
|
?>
|
|
--EXPECT--
|
|
done!
|