php-src/Zend/tests/traits/bug74922b.phpt

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