![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: implementing the same interface twice 3: --FILE-- 4: <?php 5: 6: interface foo { 7: } 8: 9: class bar implements foo, foo { 10: } 11: 12: echo "Done\n"; 13: ?> 14: --EXPECTF-- 15: Fatal error: Class bar cannot implement previously implemented interface foo in %s on line %d