1--TEST-- 2ReflectionObject::export() - ensure dynamic property with same name as inherited private property is shown. 3--FILE-- 4<?php 5class C { 6 private $p = 1; 7} 8 9class D extends C{ 10} 11 12$Obj = new D; 13$Obj->p = 'value'; 14ReflectionObject::export($Obj) 15?> 16--EXPECTF-- 17Object of class [ <user> class D extends C ] { 18 @@ %s 6-7 19 20 - Constants [0] { 21 } 22 23 - Static properties [0] { 24 } 25 26 - Static methods [0] { 27 } 28 29 - Properties [0] { 30 } 31 32 - Dynamic properties [0] { 33 } 34 35 - Methods [0] { 36 } 37} 38