1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 13:01:02 +02:00
Files
archived-php-src/Zend/tests/name_collision_05.phpt

12 lines
205 B
PHP

--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