xref: /PHP-5.5/tests/lang/bug28213.phpt (revision 6cc2073d)
1--TEST--
2Bug #28213 (crash in debug_print_backtrace in static methods)
3--FILE--
4<?php
5class FooBar { static function error() { debug_print_backtrace(); } }
6set_error_handler(array('FooBar', 'error'));
7include('foobar.php');
8?>
9--EXPECTREGEX--
10.*#1\s*include.*
11