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--EXPECTF-- 10#0 %s(%d): FooBar::error(2, 'include(foobar....', '%s', 4) 11#1 %s(%d): include() 12#0 %s(%d): FooBar::error(2, 'include(): Fail...', '%s', 4) 13#1 %s(%d): include() 14