mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
31 lines
381 B
PHP
31 lines
381 B
PHP
--TEST--
|
|
Bug #73969: segfault on debug_print_backtrace with require() call
|
|
--FILE--
|
|
<?php
|
|
trait c2
|
|
{
|
|
public static function f1()
|
|
{
|
|
|
|
}
|
|
}
|
|
|
|
class c1
|
|
{
|
|
use c2
|
|
{
|
|
c2::f1 as f2;
|
|
}
|
|
|
|
public static function go()
|
|
{
|
|
return require('bug73969.inc');
|
|
}
|
|
}
|
|
|
|
c1::go();
|
|
?>
|
|
--EXPECTF--
|
|
#0 require() called at [%s:19]
|
|
#1 c1::go() called at [%s:23]
|