From: Marcus Boerger Date: Fri, 15 Nov 2002 16:40:30 +0000 (+0000) Subject: MFH: new syntax X-Git-Tag: php-4.3.0RC2~136 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d190f543217d9f668c4d19c7ac40ebd5843d20cc;p=php MFH: new syntax --- diff --git a/tests/lang/bug20175.phpt b/tests/lang/bug20175.phpt index f8932124e4..69b0044e7f 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($this->oop_value)) { - $this->oop_value = & new oop_class; + if (!isset(self::oop_value)) { + self::oop_value = & new oop_class; } - echo $this->oop_value->oop_name; + echo self::oop_value->oop_name; } }