]> granicus.if.org Git - php/commitdiff
Adjust test.
authorMoriyoshi Koizumi <moriyoshi@php.net>
Wed, 2 Jul 2003 15:38:51 +0000 (15:38 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Wed, 2 Jul 2003 15:38:51 +0000 (15:38 +0000)
# This was also fixed by the Zeev's patch for bug #22367.

tests/lang/bug22510.phpt

index ce5ce0135822b52ac53cbc6dfc49d6e6623f8aca..0502df28af02b438075e0d215d8f28abeed23bc8 100644 (file)
@@ -13,7 +13,7 @@ class foo
 
        function &method1() {
                print __CLASS__."::".__FUNCTION__."\n";
-               return @$this->foo;
+               return $this->foo;
        }
 
        function &method2() {
@@ -23,7 +23,7 @@ class foo
 
        function method3() {
                print __CLASS__."::".__FUNCTION__."\n";
-               return @$this->foo;
+               return $this->foo;
        }
 }