I am developing a simple webpage at hostgator.com. I have the standard headers, but when I add the following line:
<?php
echo '<?xml version="1.0" encoding="utf-8"?>';
?>
My best guess is that:
… so the server is trying to process the XML declaration as PHP code. Normally I'd expect an error message, but perhaps there is a PHP setting in play that suppresses errors to the client to avoid leaking data that could be potentially useful to someone trying a security exploit.
Just remove it.
The latter is undesirable. The former all mean it makes no difference.