1--TEST-- 2Reflection Bug #36308 (ReflectionProperty::getDocComment() does not reflect extended class commentary) 3--FILE-- 4<?php 5class Base { 6 /** Base comment block */ 7 public $foo = 'bar'; 8} 9 10class Extended extends Base { 11 /** Extended commentary */ 12 public $foo = 'zim'; 13} 14 15$reflect = new ReflectionClass('Extended'); 16$props = $reflect->getProperties(); 17echo $props[0]->getDocComment(); 18?> 19--EXPECT-- 20/** Extended commentary */ 21