--TEST-- Bug #78921: When Reflection triggers class load, property visibility is incorrect --FILE-- getProperty('prop'); $reflectionProperty->setAccessible(true); $value = $reflectionProperty->getValue(); echo "Value is $value\n"; ?> --EXPECT-- Value is my property