cvs: php-src /tests/lang bug24573.phpt

From: Date: Fri, 18 Jul 2003 12:24:49 +0000
Subject: cvs: php-src /tests/lang bug24573.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-22643@lists.php.net to get a copy of this message
sniper Fri Jul 18 08:24:49 2003 EDT Added files: /php-src/tests/lang bug24573.phpt Log: Added 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

« previous php.cvs (#22643) next »