]> granicus.if.org Git - php/commitdiff
Update test (reason: can no longer assign to $this)
authorZeev Suraski <zeev@php.net>
Wed, 4 Feb 2004 17:55:44 +0000 (17:55 +0000)
committerZeev Suraski <zeev@php.net>
Wed, 4 Feb 2004 17:55:44 +0000 (17:55 +0000)
tests/lang/bug24573.phpt

index a7c8ac5ca5473551c09550e973acb713465d566f..e087d1fb2cba3af3a3229e3baf58bd23accb788a 100644 (file)
@@ -9,7 +9,7 @@ class Foo {
     $this = null;
     debug_backtrace();
     $this = $__this;
-  } 
+  }
 }
 
 $f = new Foo;
@@ -19,5 +19,6 @@ $f->Bar();
 echo "OK\n";
 
 ?>
---EXPECT--
-OK
+--EXPECTF--
+
+Fatal error: Cannot re-assign $this in %s on line %d
\ No newline at end of file