Identical to file_get_contents(), except that stream_get_contents() operates on an already open file resource and returns the remaining contents, up to maxlength bytes, in a string.
Note: This function is binary-safe.
See also fgets(), fread(), and fpassthru().