php-src/Zend/tests/objects_013.phpt
Antony Dovgal 8df36aaf32 fix test
2006-06-20 13:06:50 +00:00

16 lines
243 B
PHP

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