diff options
Diffstat (limited to 'tests/lang/bug24573.phpt')
-rw-r--r-- | tests/lang/bug24573.phpt | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/lang/bug24573.phpt b/tests/lang/bug24573.phpt deleted file mode 100644 index e087d1fb2c..0000000000 --- a/tests/lang/bug24573.phpt +++ /dev/null @@ -1,24 +0,0 @@ ---TEST-- -Bug #24573 (debug_backtrace() crashes if $this is set to null) ---FILE-- -<?php - -class Foo { - function Bar() { - $__this = $this; - $this = null; - debug_backtrace(); - $this = $__this; - } -} - -$f = new Foo; - -$f->Bar(); - -echo "OK\n"; - -?> ---EXPECTF-- - -Fatal error: Cannot re-assign $this in %s on line %d
\ No newline at end of file |