summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/bug30146.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/bug30146.phpt')
-rwxr-xr-xext/reflection/tests/bug30146.phpt23
1 files changed, 0 insertions, 23 deletions
diff --git a/ext/reflection/tests/bug30146.phpt b/ext/reflection/tests/bug30146.phpt
deleted file mode 100755
index 4f48985dcc..0000000000
--- a/ext/reflection/tests/bug30146.phpt
+++ /dev/null
@@ -1,23 +0,0 @@
---TEST--
-Bug #30146 (ReflectionProperty->getValue() requires instance for static property)
---FILE--
-<?php
-class test {
- static public $a = 1;
-}
-
-$r = new ReflectionProperty('test', 'a');
-var_dump($r->getValue(null));
-
-$r->setValue(NULL, 2);
-var_dump($r->getValue());
-
-$r->setValue(3);
-var_dump($r->getValue());
-?>
-===DONE===
---EXPECT--
-int(1)
-int(2)
-int(3)
-===DONE=== \ No newline at end of file