How can PHP be used to customize the status text of a header message?
To customize the status text of a header message in PHP, you can use the header() function along with the status code and custom status text. This can be useful when you want to provide more specific information about the response status.
<?php
$status_code = 404;
$status_text = "Not Found";
header("HTTP/1.1 $status_code $status_text");
?>