php-src/Zend/tests/objects_014.phpt
Ilija Tovilo 733023b2e3
Improve error message class type
Refer to interfaces/enums instead of classes in more places.

Closes GH-7792
Closes GH-8187
2022-03-20 20:54:36 +01:00

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