1--TEST-- 2Overriding a static property where both declarations have a doc block does not leak memory 3--FILE-- 4<?php 5trait MyTrait { 6 /** 7 * trait comment 8 */ 9 static $property; 10} 11 12class MyClass { 13 use MyTrait; 14 15 /** 16 * class comment 17 */ 18 static $property; 19} 20?> 21--EXPECT-- 22