mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix parse error and edink's fear of bison errors
This commit is contained in:
parent
6155a1fa24
commit
ac3dc9d95e
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue