reference/filesystem/functions/file-put-contents.xml
ea62fb83196997032641b50fe44420305466195e
...
...
@@ -10,11 +10,11 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
-
<type>int</type><methodname>file_put_contents</methodname>
13
+
<type class="union"><type>int</type><type>false</type></type><methodname>file_put_contents</methodname>
14
14
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
15
15
<methodparam><type>mixed</type><parameter>data</parameter></methodparam>
16
16
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
17
-
<methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
17
+
<methodparam choice="opt"><type class="union"><type>resource</type><type>null</type></type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
18
18
</methodsynopsis>
19
19
<para>
20
20
This function is identical to calling <function>fopen</function>,
21
21