xref: /PHP-5.6/Zend/tests/objects_013.phpt (revision 8df36aaf)
1--TEST--
2implementing the same interface twice
3--FILE--
4<?php
5
6interface foo {
7}
8
9class bar implements foo, foo {
10}
11
12echo "Done\n";
13?>
14--EXPECTF--
15Fatal error: Class bar cannot implement previously implemented interface foo in %s on line %d
16