Skip to content

Commit ac3dc9d

Browse files
author
Melvyn Sopacua
committed
Fix parse error and edink's fear of bison errors
1 parent 6155a1f commit ac3dc9d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/lang/bug20175.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ class oop_test {
111111

112112
function oop_static() {
113113
echo "oop_static()\n";
114-
if (!isset(self::oop_value)) {
115-
self::oop_value = & new oop_class;
114+
if (!isset(self::$oop_value)) {
115+
self::$oop_value = & new oop_class;
116116
}
117-
echo self::oop_value->oop_name;
117+
echo self::$oop_value->oop_name;
118118
}
119119
}
120120

0 commit comments

Comments
 (0)