1--TEST--
2Bug #71891 (header_register_callback() and register_shutdown_function())
3--FILE--
4<?php
5
6header_register_callback(function () {
7	echo 'header';
8	register_shutdown_function(function () {
9		echo 'shutdown';
10	});
11});
12?>
13--EXPECT--
14header
15