mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Specify explicitly the behaviour when the file already exists
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241493 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b3fd3001c5
commit
30a9c08673
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.16 $ -->
|
||||
<!-- $Revision: 1.17 $ -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file-put-contents">
|
||||
<refnamediv>
|
||||
<refname>file_put_contents</refname>
|
||||
|
@ -20,6 +20,11 @@
|
|||
<function>fwrite</function> and <function>fclose</function> successively
|
||||
to write data to a file.
|
||||
</para>
|
||||
<para>
|
||||
If <parameter>filename</parameter> does not exist, the file is created.
|
||||
Otherwise, the existing file is overwritten, unless the
|
||||
<constant>FILE_APPEND</constant> flags is set.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
|
|
Loading…
Reference in a new issue