mirror of
https://github.com/php/php-src.git
synced 2024-11-26 11:23:47 +08:00
11 lines
260 B
PHP
11 lines
260 B
PHP
--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.*
|