mirror of
https://github.com/php/php-src.git
synced 2024-12-17 05:50:14 +08:00
733023b2e3
Refer to interfaces/enums instead of classes in more places. Closes GH-7792 Closes GH-8187
16 lines
243 B
PHP
16 lines
243 B
PHP
--TEST--
|
|
extending the same interface twice
|
|
--FILE--
|
|
<?php
|
|
|
|
interface foo {
|
|
}
|
|
|
|
interface bar extends foo, foo {
|
|
}
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Interface bar cannot implement previously implemented interface foo in %s on line %d
|