diff --git a/reference/filesystem/functions/file-put-contents.xml b/reference/filesystem/functions/file-put-contents.xml index 3af8146db6..41fabfcba0 100644 --- a/reference/filesystem/functions/file-put-contents.xml +++ b/reference/filesystem/functions/file-put-contents.xml @@ -1,5 +1,5 @@ - + file_put_contents @@ -111,12 +111,12 @@ data is written in text mode. If unicode - semantics are enabled, the default encoding is UTF-8. - You can specify a different encoding by creating a custom context. - This flag cannot be used with FILE_BINARY. - If data is UTF-8 and the - FILE_TEXT flag is not set, a warning will be - issued. This flag is only available since PHP 6. + semantics are enabled, the default encoding is UTF-8. + You can specify a different encoding by creating a custom context + or by using the stream_default_encoding to + change the dafault. This flag cannot be used with + FILE_BINARY. This flag is only available since + PHP 6.