header('Content-Type: application/json');
header('Cache-Control: no-cache, no-store, must-revalidate'); header('Pragma: no-cache'); header('Expires: 0');
header('Location: https://example.com/newpage.php'); exit;
header('X-MyCustomHeader: Hello world!');Package library: None, since this is a standard PHP function.