A script that handled a php://input stream exited rather unexpectedly when it called
session_start(). I had ‘track_errors’ enabled, so there was a message in
$php_errormsg saying that headers had already been sent. But there was no file name or line number.
Continue reading Mysterious ‘headers already sent’ while handling php://input stream