diff options
author | George Schlossnagle <gschlossnagle@php.net> | 2004-06-18 18:10:52 +0000 |
---|---|---|
committer | George Schlossnagle <gschlossnagle@php.net> | 2004-06-18 18:10:52 +0000 |
commit | 6cc2073d91ca89fb984add211dc313c6ddca87c9 (patch) | |
tree | fafb0cac980e920ffd446b648d6559e7afc95926 /tests/lang | |
parent | 6d182a84567d5261f626f515db830bfef90a0c8f (diff) | |
download | php-git-6cc2073d91ca89fb984add211dc313c6ddca87c9.tar.gz |
tests for the crash in bug 28213
Diffstat (limited to 'tests/lang')
-rw-r--r-- | tests/lang/bug28213.phpt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lang/bug28213.phpt b/tests/lang/bug28213.phpt new file mode 100644 index 0000000000..3677d4c6f3 --- /dev/null +++ b/tests/lang/bug28213.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #28213 (crash in debug_print_backtrace in static methods) +--FILE-- +<?php +class FooBar { static function error() { debug_print_backtrace(); } } +set_error_handler(array('FooBar', 'error')); +include('foobar.php'); +?> +--EXPECTREGEX-- +.*#1\s*include.* |