mirror of
https://github.com/php/php-src.git
synced 2024-12-25 01:40:50 +08:00
12 lines
205 B
PHP
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
|