summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/lang/bug20175.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lang/bug20175.phpt b/tests/lang/bug20175.phpt
index 69b0044e7f..7243bafda1 100644
--- a/tests/lang/bug20175.phpt
+++ b/tests/lang/bug20175.phpt
@@ -111,10 +111,10 @@ class oop_test {
function oop_static() {
echo "oop_static()\n";
- if (!isset(self::oop_value)) {
- self::oop_value = & new oop_class;
+ if (!isset(self::$oop_value)) {
+ self::$oop_value = & new oop_class;
}
- echo self::oop_value->oop_name;
+ echo self::$oop_value->oop_name;
}
}