diff options
author | Zeev Suraski <zeev@php.net> | 2004-02-04 17:55:44 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2004-02-04 17:55:44 +0000 |
commit | 75d1fbec605329c314d804b7a7c0f2907a8272f0 (patch) | |
tree | fe17a5cb0012c6f7fe7a3ec5b16f3d5f5985d5cb /tests | |
parent | aa4fa62fc80c35f5edcc5646233bae63c4911864 (diff) | |
download | php-git-75d1fbec605329c314d804b7a7c0f2907a8272f0.tar.gz |
Update test (reason: can no longer assign to $this)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lang/bug24573.phpt | 7 |
1 files changed, 4 insertions, 3 deletions
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 |