mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Updated prototype to include context which seems to have been introduced in 5.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@245703 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e24fdb4d55
commit
72ff7fc9e0
1 changed files with 18 additions and 1 deletions
|
@ -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>
|
||||
|
@ -72,6 +83,12 @@
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>5.0.0</entry>
|
||||
<entry>
|
||||
Added context support.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>4.3.0</entry>
|
||||
<entry>
|
||||
|
|
Loading…
Reference in a new issue