php-src/Zend/tests/objects_014.phpt
Antony Dovgal c458d1347b fix tests
2006-06-19 17:33:44 +00:00

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