summaryrefslogtreecommitdiff
path: root/tests/basic/bug73969.phpt
blob: 11cfecd16b24189a2df097c26357c041c5a761f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--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]