summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionClass_hasProperty_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/ReflectionClass_hasProperty_001.phpt')
-rw-r--r--ext/reflection/tests/ReflectionClass_hasProperty_001.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/reflection/tests/ReflectionClass_hasProperty_001.phpt b/ext/reflection/tests/ReflectionClass_hasProperty_001.phpt
index 3101a7a6ae..a644b2e641 100644
--- a/ext/reflection/tests/ReflectionClass_hasProperty_001.phpt
+++ b/ext/reflection/tests/ReflectionClass_hasProperty_001.phpt
@@ -26,17 +26,17 @@ class privf {
class subprivf extends privf {
}
-$classes = array("pubf", "subpubf", "protf", "subprotf",
+$classes = array("pubf", "subpubf", "protf", "subprotf",
"privf", "subprivf");
foreach($classes as $class) {
echo "Reflecting on class $class: \n";
$rc = new ReflectionClass($class);
echo " --> Check for s: ";
- var_dump($rc->hasProperty("s"));
+ var_dump($rc->hasProperty("s"));
echo " --> Check for a: ";
var_dump($rc->hasProperty("a"));
echo " --> Check for A: ";
- var_dump($rc->hasProperty("A"));
+ var_dump($rc->hasProperty("A"));
echo " --> Check for doesntExist: ";
var_dump($rc->hasProperty("doesntExist"));
}