diff --git a/reference/filesystem/functions/file-get-contents.xml b/reference/filesystem/functions/file-get-contents.xml index 83ad6ec0cb..f5c1b82166 100644 --- a/reference/filesystem/functions/file-get-contents.xml +++ b/reference/filesystem/functions/file-get-contents.xml @@ -1,5 +1,5 @@ - + @@ -13,10 +13,12 @@ stringfilename booluse_include_path resourcecontext + intoffset Identical to file, except that - file_get_contents returns the file in a string. + file_get_contents returns the file in a string, + starting at the specified offset. On failure, file_get_contents will return &false;. @@ -24,6 +26,11 @@ contents of a file into a string. It will use memory mapping techniques if supported by your OS to enhance performance. + + + The offset parameter was added in PHP 5.1.0. + + Using <function>file_get_contents</function> with a URI