mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
16 lines
241 B
PHP
16 lines
241 B
PHP
--TEST--
|
|
Bug #74922 (Composed class has fatal error with duplicate, equal const properties)
|
|
--FILE--
|
|
<?php
|
|
|
|
require('bug74922b.inc');
|
|
|
|
trait T2 {public $var = Bug74922\FOO;}
|
|
class Baz {use Bug74922\T1, T2;}
|
|
|
|
echo "DONE";
|
|
|
|
?>
|
|
--EXPECT--
|
|
DONE
|