mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +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!
|