From bb97cf56ee1ecec9b621cec41dc9bb015c926932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Andr=C3=A9=20dos=20Santos=20Lopes?= Date: Thu, 14 Oct 2010 03:30:46 +0000 Subject: [PATCH] - Fixed default value for last parameter of stream_get_contents(). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304385 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/stream/functions/stream-get-contents.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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.