diff options
author | Melvyn Sopacua <msopacua@php.net> | 2003-01-28 10:04:17 +0000 |
---|---|---|
committer | Melvyn Sopacua <msopacua@php.net> | 2003-01-28 10:04:17 +0000 |
commit | ac3dc9d95eb75c15c6221688a645a4b74a4a320c (patch) | |
tree | 1a02fa764f2f01aa21afc31b5beac847698862d4 | |
parent | 6155a1fa245294a6783c6d4b40e8fb2054bc0766 (diff) | |
download | php-git-ac3dc9d95eb75c15c6221688a645a4b74a4a320c.tar.gz |
Fix parse error and edink's fear of bison errors
-rw-r--r-- | tests/lang/bug20175.phpt | 6 |
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; } } |