xref: /PHP-8.3/Zend/tests/name_collision_05.phpt (revision 1c599418)
1--TEST--
2Object naming collision error: interface/trait
3--FILE--
4<?php
5
6interface A { }
7trait A { }
8
9?>
10--EXPECTF--
11Fatal error: Cannot declare trait A, because the name is already in use in %s on line %d
12