This is the wrong adjustment. The bug Zeev fixed also existed here (not related to objects). You should adjust the EXPECT portion to the current output.
-Sterling On Wed, 2003-07-02 at 11:38, Moriyoshi Koizumi wrote: > moriyoshi Wed Jul 2 11:38:51 2003 EDT > > Modified files: > /php-src/tests/lang bug22510.phpt > Log: > Adjust test. > # This was also fixed by the Zeev's patch for bug #22367. > > > Index: php-src/tests/lang/bug22510.phpt > diff -u php-src/tests/lang/bug22510.phpt:1.1 php-src/tests/lang/bug22510.phpt:1.2 > --- php-src/tests/lang/bug22510.phpt:1.1 Tue Mar 4 14:52:22 2003 > +++ php-src/tests/lang/bug22510.phpt Wed Jul 2 11:38:51 2003 > @@ -13,7 +13,7 @@ > > function &method1() { > print __CLASS__."::".__FUNCTION__."\n"; > - return @$this->foo; > + return $this->foo; > } > > function &method2() { > @@ -23,7 +23,7 @@ > > function method3() { > print __CLASS__."::".__FUNCTION__."\n"; > - return @$this->foo; > + return $this->foo; > } > } > -- "First they ignore you, then they laugh at you, then they fight you, then you win." - Gandhi -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php