php-src/tests/lang/bug28213.phpt
2004-06-18 18:10:52 +00:00

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.*