mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Only true if unicode.semantics=1
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241513 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d6e2ac6d2e
commit
cfe7982cba
1 changed files with 8 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.18 $ -->
|
||||
<!-- $Revision: 1.19 $ -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file-put-contents">
|
||||
<refnamediv>
|
||||
<refname>file_put_contents</refname>
|
||||
|
@ -110,12 +110,13 @@
|
|||
<constant>FILE_TEXT</constant>
|
||||
</entry>
|
||||
<entry>
|
||||
<parameter>data</parameter> 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
|
||||
<constant>FILE_BINARY</constant>. If <parameter>data</parameter>
|
||||
is UTF-8 and the <constant>FILE_TEXT</constant> flag is not set,
|
||||
a warning will be issued. This flag is only available since PHP 6.
|
||||
<parameter>data</parameter> 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 <constant>FILE_BINARY</constant>.
|
||||
If <parameter>data</parameter> is UTF-8 and the
|
||||
<constant>FILE_TEXT</constant> flag is not set, a warning will be
|
||||
issued. This flag is only available since PHP 6.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
|
Loading…
Reference in a new issue