summaryrefslogtreecommitdiff
path: root/Zend/tests/objects_013.phpt
blob: 3f7bea81af8b265cb5a114fcb9b0edcf55ae218b (plain)
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