1--TEST-- 2ReflectionClass::export() - ensure inherited private props are hidden. 3--FILE-- 4<?php 5Class c { 6 private $a; 7 static private $b; 8} 9 10class d extends c {} 11 12ReflectionClass::export("c"); 13ReflectionClass::export("d"); 14?> 15--EXPECTF-- 16Class [ <user> class c ] { 17 @@ %s 2-5 18 19 - Constants [0] { 20 } 21 22 - Static properties [1] { 23 Property [ private static $b ] 24 } 25 26 - Static methods [0] { 27 } 28 29 - Properties [1] { 30 Property [ <default> private $a ] 31 } 32 33 - Methods [0] { 34 } 35} 36 37Class [ <user> class d extends c ] { 38 @@ %s 7-7 39 40 - Constants [0] { 41 } 42 43 - Static properties [0] { 44 } 45 46 - Static methods [0] { 47 } 48 49 - Properties [0] { 50 } 51 52 - Methods [0] { 53 } 54}