xref: /PHP-8.3/Zend/tests/traits/bug74922b.phpt (revision 897bdb42)
1--TEST--
2Bug #74922 (Composed class has fatal error with duplicate, equal const properties)
3--FILE--
4<?php
5
6require('bug74922b.inc');
7
8trait T2 {public $var = Bug74922\FOO;}
9class Baz {use Bug74922\T1, T2;}
10
11echo "DONE";
12
13?>
14--EXPECT--
15DONE
16