From: Melvyn Sopacua Date: Tue, 28 Jan 2003 10:04:17 +0000 (+0000) Subject: Fix parse error and edink's fear of bison errors X-Git-Tag: PHP_5_0_dev_before_13561_fix~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac3dc9d95eb75c15c6221688a645a4b74a4a320c;p=php Fix parse error and edink's fear of bison errors --- 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; } }