diff --git a/tests/lang/bug20175.phpt b/tests/lang/bug20175.phpt index 69b0044e7fa..7243bafda1f 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; } }