--TEST-- Bug #50810 (property_exists does not work for private) --FILE-- methodExists()); var_dump(method_exists($example, 'propertyFooExists')); var_dump($example->propertyFooExists()); var_dump($example->propertyBarExists()); ?> --EXPECT-- bool(true) bool(true) bool(true) bool(true)