File size: 491 Bytes
1e94262
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
31
--TEST--
GH-13827 (Null pointer access of type 'zval' in phpdbg_frame)
--FILE--
<?php

$fiber = new Fiber(function () {
    $fiber = Fiber::getCurrent();

    Fiber::suspend();
});

$fiber->start();

$fiber = null;
gc_collect_cycles();

?>
--PHPDBG--
r
t
q
--EXPECTF--
[Successful compilation of %s]
prompt> [Uncaught GracefulExit in  on line 0: ]
>00006:     Fiber::suspend();
 00007: });
 00008: 
prompt> frame #0: {closure:%s:%d}() at %s:6
 => {closure:%s:%d} (internal function)
prompt>