mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
ded3d984c6
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
22 lines
221 B
PHP
22 lines
221 B
PHP
--TEST--
|
|
Trying declare interface with repeated name of inherited method
|
|
--FILE--
|
|
<?php
|
|
|
|
interface a {
|
|
function b();
|
|
}
|
|
|
|
interface b {
|
|
function b();
|
|
}
|
|
|
|
interface c extends a, b {
|
|
}
|
|
|
|
echo "done!\n";
|
|
|
|
?>
|
|
--EXPECT--
|
|
done!
|