![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Trying declare interface with repeated name of inherited method ! 3: --FILE-- ! 4: <?php ! 5: ! 6: interface a { ! 7: function b(); ! 8: } ! 9: ! 10: interface b { ! 11: function b(); ! 12: } ! 13: ! 14: interface c extends a, b { ! 15: } ! 16: ! 17: echo "done!\n"; ! 18: ! 19: ?> ! 20: --EXPECTF-- ! 21: done!