diff --git a/reference/filesystem/functions/file-get-contents.xml b/reference/filesystem/functions/file-get-contents.xml index 773eee5234..acf39bf580 100644 --- a/reference/filesystem/functions/file-get-contents.xml +++ b/reference/filesystem/functions/file-get-contents.xml @@ -14,13 +14,13 @@ booluse_include_path&false; resourcecontext intoffset0 - intmaxlen + intlength This function is similar to file, except that file_get_contents returns the file in a string, starting at the specified offset - up to maxlen bytes. On failure, + up to length bytes. On failure, file_get_contents will return &false;. @@ -89,7 +89,7 @@ - maxlen + length Maximum length of data read. The default is to read until end @@ -113,7 +113,7 @@ &reftitle.errors; - An E_WARNING level error is generated if filename cannot be found, maxlength + An E_WARNING level error is generated if filename cannot be found, length is less than zero, or if seeking to the specified offset in the stream fails.