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

interface A { }
trait A { }

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