php-src/Zend/tests/objects_014.phpt
2018-10-14 19:45:12 +02:00

16 lines
239 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