diff --git a/reference/stream/functions/stream-get-contents.xml b/reference/stream/functions/stream-get-contents.xml index 2d169082e8..5ec4598f37 100644 --- a/reference/stream/functions/stream-get-contents.xml +++ b/reference/stream/functions/stream-get-contents.xml @@ -11,7 +11,7 @@ stringstream_get_contents resourcehandle intmaxlength-1 - intoffset0 + intoffset-1 Identical to file_get_contents, except that @@ -47,7 +47,8 @@ offset (integer) - Seek to the specified offset before reading. + Seek to the specified offset before reading. If this number is negative, + no seeking will occur and reading will start from the current position.