You can run PHP with the -q command line switch. The manual only say:
-q
Quiet-mode. Suppress HTTP header output (CGI only).
As you can see with -q key php suppresses to send headers (added some new lines in the output though to make it more readable):
zerkms@l12 ~ $ cat file.php