1--TEST--
2Properties are considered incompatible if they are different in any of their
3defined characteristics. Thus, initialization values have to be equal, too.
4--FILE--
5<?php
6error_reporting(E_ALL);
7
8trait foo
9{
10    public $zoo = 'foo::zoo';
11}
12
13class baz
14{
15    use foo;
16    public $zoo = 'baz::zoo';
17}
18
19$obj = new baz();
20echo $obj->zoo, "\n";
21?>
22--EXPECTF--
23Fatal error: baz and foo define the same property ($zoo) in the composition of baz. However, the definition differs and is considered incompatible. Class was composed in %s on line %d