- function_exists: documentation ( source)
- register_shutdown_function: documentation ( source)
<?php
echo "and ...";
if (function_exists('register_postsend_function')) {
register_postsend_function(function() {
echo "... you should not be seeing this";
});
} else {
register_shutdown_function(function() {
echo "... you should not be seeing this";
});
}
die();