diff --git a/reference/filesystem/functions/file-put-contents.xml b/reference/filesystem/functions/file-put-contents.xml index c08fc957c2..3af8146db6 100644 --- a/reference/filesystem/functions/file-put-contents.xml +++ b/reference/filesystem/functions/file-put-contents.xml @@ -1,5 +1,5 @@ - + file_put_contents @@ -110,12 +110,13 @@ FILE_TEXT - data is written in text mode. By default, - the 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. + 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.