Annotation of embedaddon/php/Zend/tests/traits/bug60369.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #60369 (Crash with static property in trait)
3: --FILE--
4: <?php
5:
6: trait PropertiesTrait {
7: static $same = true;
8: }
9:
10: class Properties {
11: use PropertiesTrait;
12: public $same = true;
13: }
14:
15: ?>
16: --EXPECTF--
17: Fatal error: Properties and PropertiesTrait define the same property ($same) in the composition of Properties. However, the definition differs and is considered incompatible. Class was composed in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>