From: Zeev Suraski Date: Wed, 4 Feb 2004 17:55:44 +0000 (+0000) Subject: Update test (reason: can no longer assign to $this) X-Git-Tag: php-5.0.0b4RC1~135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75d1fbec605329c314d804b7a7c0f2907a8272f0;p=php Update test (reason: can no longer assign to $this) --- diff --git a/tests/lang/bug24573.phpt b/tests/lang/bug24573.phpt index a7c8ac5ca5..e087d1fb2c 100644 --- a/tests/lang/bug24573.phpt +++ b/tests/lang/bug24573.phpt @@ -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