1--TEST--
2register_shutdown_function() and long-term fci storage
3--FILE--
4<?php
5class Test {
6    function register() {
7        register_shutdown_function('Test::method');
8    }
9    function method() {
10        var_dump($this);
11    }
12}
13(new Test)->register();
14?>
15--EXPECT--
16object(Test)#1 (0) {
17}
18