--TEST-- Test ReflectionProperty::isDefault() usage. --FILE-- isDefault()); echo "\n**********************************\n"; } class TestClass { public $pub; static public $stat = "static property"; protected $prot = 4; private $priv = "keepOut"; } reflectProperty("TestClass", "pub"); reflectProperty("TestClass", "stat"); reflectProperty("TestClass", "prot"); reflectProperty("TestClass", "priv"); ?> --EXPECT-- ********************************** Reflecting on property TestClass::pub isDefault(): bool(true) ********************************** ********************************** Reflecting on property TestClass::stat isDefault(): bool(true) ********************************** ********************************** Reflecting on property TestClass::prot isDefault(): bool(true) ********************************** ********************************** Reflecting on property TestClass::priv isDefault(): bool(true) **********************************