summaryrefslogtreecommitdiff
path: root/Zend/tests/name_collision_04.phpt
blob: b391a967443427910276ce91e88ebe1102a58f2d (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Object naming collision error: interface/interface
--FILE--
<?php

interface A { }
interface A { }

?>
--EXPECTF--
Fatal error: Cannot declare interface A, because the name is already in use in %s on line %d