cvs: phpdoc /en/reference/filesystem/functions copy.xml
| From: | Richard Quadling | Date: | Tue, 06 Nov 2007 10:04:37 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions copy.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-349@lists.php.net to get a copy of this message | ||
rquadling Tue Nov 6 10:04:37 2007 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions copy.xml
Log:
Updated prototype to include context which seems to have been introduced in 5.0
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/copy.xml?r1=1.17&r2=1.18&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/copy.xml
diff -u phpdoc/en/reference/filesystem/functions/copy.xml:1.17
phpdoc/en/reference/filesystem/functions/copy.xml:1.18
--- phpdoc/en/reference/filesystem/functions/copy.xml:1.17 Thu Aug 16 14:08:22 2007
+++ phpdoc/en/reference/filesystem/functions/copy.xml Tue Nov 6 10:04:37 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.17 $ -->
+<!-- $Revision: 1.18 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.copy">
<refnamediv>
<refname>copy</refname>
@@ -12,6 +12,7 @@
<type>bool</type><methodname>copy</methodname>
<methodparam><type>string</type><parameter>source</parameter></methodparam>
<methodparam><type>string</type><parameter>dest</parameter></methodparam>
+ <methodparam
choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
Makes a copy of the file <parameter>source</parameter> to
@@ -49,6 +50,16 @@
</warning>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>context</parameter></term>
+ <listitem>
+ <para>
+ A valid context resource created with
+ <function>stream_context_create</function>. If you don't need to use a
+ custom context, you can skip this parameter by &null;.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
@@ -73,6 +84,12 @@
</thead>
<tbody>
<row>
+ <entry>5.0.0</entry>
+ <entry>
+ Added context support.
+ </entry>
+ </row>
+ <row>
<entry>4.3.0</entry>
<entry>
Both <parameter>source</parameter> and <parameter>dest</parameter>