1--TEST--
2Call header_register_callback() after headers sent
3--FILE--
4<?php
5echo "Send headers.\n";
6header_register_callback(function() { echo "Too late";});
7?>
8--EXPECT--
9Send headers.
10