zeev            Wed Feb  4 12:55:44 2004 EDT

  Modified files:              
    /php-src/tests/lang bug24573.phpt 
  Log:
  Update test (reason: can no longer assign to $this)
  
  
http://cvs.php.net/diff.php/php-src/tests/lang/bug24573.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/tests/lang/bug24573.phpt
diff -u php-src/tests/lang/bug24573.phpt:1.1 php-src/tests/lang/bug24573.phpt:1.2
--- php-src/tests/lang/bug24573.phpt:1.1        Fri Jul 18 08:24:49 2003
+++ php-src/tests/lang/bug24573.phpt    Wed Feb  4 12:55:44 2004
@@ -9,7 +9,7 @@
     $this = null;
     debug_backtrace();
     $this = $__this;
-  } 
+  }
 }
 
 $f = new Foo;
@@ -19,5 +19,6 @@
 echo "OK\n";
 
 ?>
---EXPECT--
-OK
+--EXPECTF--
+
+Fatal error: Cannot re-assign $this in %s on line %d
\ No newline at end of file

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to