php-src/Zend/tests/objects_013.phpt
2018-10-14 12:07:20 -03:00

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