From: Felipe Pena Date: Sun, 7 Mar 2010 00:57:19 +0000 (+0000) Subject: - New test X-Git-Tag: php-5.4.0alpha1~228 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4149bb3dfd9c4fa67164099959feb8b819ae81da;p=php - New test --- diff --git a/Zend/tests/bug50810.phpt b/Zend/tests/bug50810.phpt new file mode 100644 index 0000000000..8b4d7190eb --- /dev/null +++ b/Zend/tests/bug50810.phpt @@ -0,0 +1,46 @@ +--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)