fixed parameter type and added simple example

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@205770 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hartmut Holzgraefe 2006-01-23 01:19:28 +00:00
parent 985441012a
commit 6d5e2ba1e2

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -->
<refentry id="function.imap-reopen">
<refnamediv>
@ -12,7 +12,7 @@
<type>bool</type><methodname>imap_reopen</methodname>
<methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam>
<methodparam><type>string</type><parameter>mailbox</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
</methodsynopsis>
<para>
This function reopens the specified stream to a new
@ -50,7 +50,21 @@
<para>
&return.success;
</para>
<example>
<title><function>imap_reopen</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
$mbox = imap_open("{mailget.mysql.com:143/novalidate-cert}INBOX", "hholzgraefe", "nomore6nomore6") or die(join(", ", imap_errors()));
// ...
imap_reopen($mbox, "{mailget.mysql.com:143}Inbox.Sent") or die(join(", ", imap_errors()));
// ..
?>
]]>
</programlisting>
</example>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file