Actually php://input allows you to read raw POST data.

It is a less memory intensive alternative to $HTTPRAWPOST_DATA and does not need any special php.ini directives.

php://input is not available with enctype="multipart/form-data".

Reference: http://php.net/manual/en/wrappers.php.php