1--TEST-- 2register_shutdown_function() & closure 3--FILE-- 4<?php 5register_shutdown_function(function () { echo "Hello World!\n"; }); 6 7echo "Done\n"; 8?> 9--EXPECT-- 10Done 11Hello World! 12