nlopess Fri Aug 11 17:59:01 2006 UTC
Modified files:
/phpdoc/en/reference/zip reference.xml
/phpdoc/en/reference/zip/functions ziparchive-addfile.xml
ziparchive-addfromstring.xml
ziparchive-close.xml
ziparchive-deleteindex.xml
ziparchive-deletename.xml
ziparchive-getarchivecomment.xml
ziparchive-getcommentindex.xml
ziparchive-getcommentname.xml
ziparchive-getnameindex.xml
ziparchive-getstream.xml
ziparchive-renameindex.xml
ziparchive-renamename.xml
ziparchive-statindex.xml
ziparchive-statname.xml
Log:
misc fixes
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/reference.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/zip/reference.xml
diff -u phpdoc/en/reference/zip/reference.xml:1.9
phpdoc/en/reference/zip/reference.xml:1.10
--- phpdoc/en/reference/zip/reference.xml:1.9 Fri Aug 11 17:27:59 2006
+++ phpdoc/en/reference/zip/reference.xml Fri Aug 11 17:59:01 2006
@@ -1,38 +1,38 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<!-- Purpose: compression -->
<!-- Membership: pecl -->
- <reference id="ref.zip">
- <title>Zip File Functions</title>
- <titleabbrev>Zip</titleabbrev>
-
- <partintro>
- <section id="zip.intro">
- &reftitle.intro;
+<reference id="ref.zip">
+ <title>Zip File Functions</title>
+ <titleabbrev>Zip</titleabbrev>
+
+ <partintro>
+ <section id="zip.intro">
+ &reftitle.intro;
+ <para>
+ This module enables you to transparently read or write ZIP compressed
+ archives and the files inside them.
+ </para>
+ </section>
+
+ <section id="zip.requirements">
+ &reftitle.required;
+ <section>
+ <title>PHP 4 Bundled</title>
<para>
- This module enables you to transparently read or write ZIP compressed
- archives and the files inside them.
+ The initial version is bundled in PHP 4 and is available in PECL
+ as version 1.0, see <ulink url="&url.pecl.package;zip">
+ &url.pecl.package;zip</ulink>. It can only read Zip Archives.
+ </para>
+ <para>
+ This version uses the functions of the <ulink
+ url="&url.zziplib;">ZZIPlib</ulink> library by Guido Draheim.
+ You need ZZIPlib version >= 0.10.6.
</para>
</section>
- <section id="zip.requirements">
- &reftitle.required;
- <section>
- <title>PHP4 Bundled</title>
- <para>
- The initial version is bundled in PHP 4 and is available in PECL
- as version 1.0, see <ulink url="&url.pecl.package;zip">
- &url.pecl.package;zip</ulink>. It can only read Zip Archives.
- </para>
- <para>
- This version uses the functions of the <ulink
- url="&url.zziplib;">ZZIPlib</ulink> library by Guido Draheim.
- You need ZZIPlib version >= 0.10.6.
- </para>
- </section>
-
- <section>
+ <section>
<title>PECL and PHP 5.2 or earlier</title>
<para>
The newest version is bundled in PHP 5.2.0 or earlier and
@@ -41,32 +41,32 @@
when used with PHP 5.1 or ealier and can only read them when used
with PHP4.
</para>
- </section>
- </section>
-
- &reference.zip.configure;
-
- <section id="zip.configuration">
- &reftitle.runtime;
- &no.config;
- </section>
-
- <section id="zip.resources">
- &reftitle.resources;
- <para>
- There are two resource types used in the Zip module. The first one
- is the Zip directory for the Zip archive, the second Zip Entry for
- the archive entries.
- </para>
</section>
+ </section>
- &reference.zip.constants;
+ &reference.zip.configure;
- <section id="zip.examples">
- &reftitle.examples;
- <example>
- <title>Create a Zip archive</title>
- <programlisting role="php">
+ <section id="zip.configuration">
+ &reftitle.runtime;
+ &no.config;
+ </section>
+
+ <section id="zip.resources">
+ &reftitle.resources;
+ <para>
+ There are two resource types used in the Zip module. The first one
+ is the Zip directory for the Zip archive, the second Zip Entry for
+ the archive entries.
+ </para>
+ </section>
+
+ &reference.zip.constants;
+
+ <section id="zip.examples">
+ &reftitle.examples;
+ <example>
+ <title>Create a Zip archive</title>
+ <programlisting role="php">
<![CDATA[
<?php
@@ -85,11 +85,11 @@
$zip->close();
?>
]]>
- </programlisting>
- </example>
- <example>
- <title>Dump the archive details and listing</title>
- <programlisting role="php">
+ </programlisting>
+ </example>
+ <example>
+ <title>Dump the archive details and listing</title>
+ <programlisting role="php">
<![CDATA[
<?php
$za = new ZipArchive();
@@ -110,11 +110,11 @@
echo "numFile:" . $za->numFiles . "\n";
?>
]]>
- </programlisting>
- </example>
- <example>
- <title>Zip stream wrapper, read an OpenOffice meta info</title>
- <programlisting role="php">
+ </programlisting>
+ </example>
+ <example>
+ <title>Zip stream wrapper, read an OpenOffice meta info</title>
+ <programlisting role="php">
<![CDATA[
<?php
$reader = new XMLReader();
@@ -137,18 +137,18 @@
print_r($odt_meta);
?>
]]>
- </programlisting>
- </example>
- <para>
- This example uses the old API (PHP 4), it opens a ZIP file
- archive, reads each file in the archive and prints out its
- contents. The <filename>test2.zip</filename> archive used in this
- example is one of the test archives in the ZZIPlib source
- distribution.
- </para>
- <example>
- <title>Zip Usage Example</title>
- <programlisting role="php">
+ </programlisting>
+ </example>
+ <para>
+ This example uses the old API (PHP 4), it opens a ZIP file
+ archive, reads each file in the archive and prints out its
+ contents. The <filename>test2.zip</filename> archive used in this
+ example is one of the test archives in the ZZIPlib source
+ distribution.
+ </para>
+ <example>
+ <title>Zip Usage Example</title>
+ <programlisting role="php">
<![CDATA[
<?php
@@ -177,12 +177,13 @@
}
?>
]]>
- </programlisting>
- </example>
- </section>
- </partintro>
+ </programlisting>
+ </example>
+ </section>
+ </partintro>
+
+ &reference.zip.functions;
-&reference.zip.functions;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-addfile.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-addfile.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-addfile.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-addfile.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-addfile.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-addfile.xml Fri Aug 11
17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-addfile">
<refnamediv>
<refname>ZipArchive::addFile</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>boolean</type><methodname>ZipArchive::addFile</methodname>
+ <type>bool</type><methodname>ZipArchive::addFile</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam
choice="opt"><type>string</type><parameter>localname</parameter></methodparam>
</methodsynopsis>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-addfromstring.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-addfromstring.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-addfromstring.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-addfromstring.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-addfromstring.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-addfromstring.xml Fri Aug
11 17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-addfromstring">
<refnamediv>
<refname>ZipArchive::addFromString</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>boolean</type><methodname>ZipArchive::addFromString</methodname>
+ <type>bool</type><methodname>ZipArchive::addFromString</methodname>
<methodparam><type>string</type><parameter>localname</parameter></methodparam>
<methodparam><type>string</type><parameter>contents</parameter></methodparam>
</methodsynopsis>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-close.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-close.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-close.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-close.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-close.xml:1.1 Fri Aug 11
17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-close.xml Fri Aug 11
17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-close">
<refnamediv>
<refname>ZipArchive::close</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>boolean</type><methodname>ZipArchive::close</methodname>
+ <type>bool</type><methodname>ZipArchive::close</methodname>
<void/>
</methodsynopsis>
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-deleteindex.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-deleteindex.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-deleteindex.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-deleteindex.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-deleteindex.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-deleteindex.xml Fri Aug
11 17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-deleteindex">
<refnamediv>
<refname>ZipArchive::deleteIndex</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>boolean</type><methodname>ZipArchive::deleteIndex</methodname>
+ <type>bool</type><methodname>ZipArchive::deleteIndex</methodname>
<methodparam><type>integer</type><parameter>index</parameter></methodparam>
</methodsynopsis>
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-deletename.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-deletename.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-deletename.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-deletename.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-deletename.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-deletename.xml Fri Aug 11
17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-deletename">
<refnamediv>
<refname>ZipArchive::deleteName</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>boolean</type><methodname>ZipArchive::deleteName</methodname>
+ <type>bool</type><methodname>ZipArchive::deleteName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-getarchivecomment.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-getarchivecomment.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-getarchivecomment.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-getarchivecomment.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-getarchivecomment.xml:1.1
Fri Aug 11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-getarchivecomment.xml Fri Aug
11 17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-getarchivecomment">
<refnamediv>
<refname>ZipArchive::getArchiveComment</refname>
@@ -8,17 +8,17 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>ZipArchive::getArchiveComment</methodname>
+ <type>string</type><methodname>ZipArchive::getArchiveComment</methodname>
<void/>
</methodsynopsis>
<para>
- Returns the Zip archive comment or false on failure.
+ Returns the Zip archive comment.
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- &return.success;
+ Returns the Zip archive comment or &false; on failure.
</para>
</refsect1>
<refsect1 role="examples">
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-getcommentindex.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-getcommentindex.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-getcommentindex.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-getcommentindex.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-getcommentindex.xml:1.1
Fri Aug 11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-getcommentindex.xml Fri Aug
11 17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-getcommentindex">
<refnamediv>
<refname>ZipArchive::getCommentIndex</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>ZipArchive::getCommentIndex</methodname>
+ <type>string</type><methodname>ZipArchive::getCommentIndex</methodname>
<methodparam><type>integer</type><parameter>index</parameter></methodparam>
<methodparam
choice="opt"><type>integer</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-getcommentname.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-getcommentname.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-getcommentname.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-getcommentname.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-getcommentname.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-getcommentname.xml Fri Aug
11 17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-getcommentname">
<refnamediv>
<refname>ZipArchive::getCommentName</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>ZipArchive::getCommentName</methodname>
+ <type>string</type><methodname>ZipArchive::getCommentName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam
choice="opt"><type>integer</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-getnameindex.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-getnameindex.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-getnameindex.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-getnameindex.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-getnameindex.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-getnameindex.xml Fri Aug
11 17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-getnameindex">
<refnamediv>
<refname>ZipArchive::getNameIndex</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>ZipArchive::getNameIndex</methodname>
+ <type>string</type><methodname>ZipArchive::getNameIndex</methodname>
<methodparam><type>integer</type><parameter>index</parameter></methodparam>
</methodsynopsis>
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-getstream.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-getstream.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-getstream.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-getstream.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-getstream.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-getstream.xml Fri Aug 11
17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-getstream">
<refnamediv>
<refname>ZipArchive::getStream</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>ZipArchive::getStream</methodname>
+ <type>resource</type><methodname>ZipArchive::getStream</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-renameindex.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-renameindex.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-renameindex.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-renameindex.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-renameindex.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-renameindex.xml Fri Aug
11 17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-renameindex">
<refnamediv>
<refname>ZipArchive::renameIndex</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>boolean</type><methodname>ZipArchive::renameIndex</methodname>
+ <type>bool</type><methodname>ZipArchive::renameIndex</methodname>
<methodparam><type>integer</type><parameter>index</parameter></methodparam>
<methodparam><type>string</type><parameter>newname</parameter></methodparam>
</methodsynopsis>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-renamename.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-renamename.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-renamename.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-renamename.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-renamename.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-renamename.xml Fri Aug 11
17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-renamename">
<refnamediv>
<refname>ZipArchive::renameName</refname>
@@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>boolean</type><methodname>ZipArchive::renameName</methodname>
+ <type>bool</type><methodname>ZipArchive::renameName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>string</type><parameter>newname</parameter></methodparam>
</methodsynopsis>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-statindex.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-statindex.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-statindex.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-statindex.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-statindex.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-statindex.xml Fri Aug 11
17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-statindex">
<refnamediv>
<refname>ZipArchive::statIndex</refname>
@@ -66,9 +66,7 @@
?>
]]>
</programlisting>
- <para>
- This example will output :
- </para>
+ &example.outputs.similar;
<screen>
<![CDATA[
Array
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/zip/functions/ziparchive-statname.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/zip/functions/ziparchive-statname.xml
diff -u phpdoc/en/reference/zip/functions/ziparchive-statname.xml:1.1
phpdoc/en/reference/zip/functions/ziparchive-statname.xml:1.2
--- phpdoc/en/reference/zip/functions/ziparchive-statname.xml:1.1 Fri Aug
11 17:27:59 2006
+++ phpdoc/en/reference/zip/functions/ziparchive-statname.xml Fri Aug 11
17:59:01 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
+<!-- $Revision: 1.2 $ -->
<refentry id="function.ziparchive-statname">
<refnamediv>
<refname>ZipArchive::statName</refname>
@@ -63,7 +63,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns an array containing the entry details or false on failure.
+ Returns an array containing the entry details or &false; on failure.
</para>
</refsect1>
<refsect1 role="examples">
@@ -84,9 +84,7 @@
?>
]]>
</programlisting>
- <para>
- This example will output :
- </para>
+ &example.outputs.similar;
<screen>
<![CDATA[
Array