mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
16 lines
241 B
PHP
16 lines
241 B
PHP
--TEST--
|
|
extending the same interface twice
|
|
--FILE--
|
|
<?php
|
|
|
|
interface foo {
|
|
}
|
|
|
|
interface bar extends foo, foo {
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Class bar cannot implement previously implemented interface foo in %s on line %d
|