summaryrefslogtreecommitdiff
path: root/Zend/tests/objects_014.phpt
blob: c422b392ea9c3b439a17b5090e4dd6d58f2f1220 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
extending the same interface twice
--FILE--
<?php

interface foo {
}

interface bar extends foo, foo {
}	

echo "Done\n";
?>
--EXPECTF--	
Fatal error: Class bar cannot implement previously implemented interface foo in %s on line %d