From 16af3f7d114df47fa2c1eabea9087a3a36db3d2b Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 15 Nov 2002 15:19:02 +0000 Subject: [PATCH] Update to new syntax suggestion --- tests/lang/bug20175.phpt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } } -- 2.50.1