summaryrefslogtreecommitdiff
path: root/Zend/tests/traits/bug74922.phpt
blob: 16272b8f6820c00b04b1ec60d355b575b0cec1d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Bug #74922 (Composed class has fatal error with duplicate, equal const properties)
--FILE--
<?php

const VALUE = true;

trait Foo {public $var = VALUE;}
trait Bar {public $var = VALUE;}
class Baz {use Foo, Bar;}

echo "DONE";

?>
--EXPECT--
DONE