mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
12 lines
197 B
Plaintext
12 lines
197 B
Plaintext
|
--TEST--
|
||
|
Object naming collision error: class/trait
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class A { }
|
||
|
trait A { }
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Cannot declare trait A, because the name is already in use in %s on line %d
|