1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
--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