php-src/Zend/tests/objects_013.phpt

16 lines
233 B
Plaintext
Raw Normal View History

--TEST--
implementing the same interface twice
--FILE--
<?php
interface foo {
}
class bar implements foo, foo {
}
echo "Done\n";
?>
--EXPECTF--
Fatal error: Cannot implement previously implemented interface foo in %s on line %d