![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #28213 (crash in debug_print_backtrace in static methods) ! 3: --FILE-- ! 4: <?php ! 5: class FooBar { static function error() { debug_print_backtrace(); } } ! 6: set_error_handler(array('FooBar', 'error')); ! 7: include('foobar.php'); ! 8: ?> ! 9: --EXPECTREGEX-- ! 10: .*#1\s*include.*