sniper Fri Jul 18 08:25:09 2003 EDT Added files: (Branch: PHP_4_3) /php-src/tests/lang bug24573.phpt Log: MFH: test case for bug #24573
Index: php-src/tests/lang/bug24573.phpt +++ php-src/tests/lang/bug24573.phpt --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"; ?> --EXPECT-- OK -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php