mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fix build
#hey men, we have a make test tool :) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@161594 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
92927dc7f0
commit
89479fbcdf
7 changed files with 71 additions and 95 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.bzcompress">
|
||||
<refnamediv>
|
||||
|
@ -8,12 +8,12 @@
|
|||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>bzcompress</methodname>
|
||||
<methodparam><type>string</type><parameter>source</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>blocksize</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>workfactor</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>bzcompress</methodname>
|
||||
<methodparam><type>string</type><parameter>source</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>blocksize</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>workfactor</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>bzcompress</function> compresses the
|
||||
<parameter>source</parameter> string and returns it as bzip2
|
||||
|
@ -34,16 +34,9 @@
|
|||
value. Regardless of the <parameter>workfactor</parameter>, the
|
||||
generated output is the same.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>bzdecompress</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>Example</title>
|
||||
<example>
|
||||
<title><function>bzcompress</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -54,6 +47,10 @@ echo $bzstr;
|
|||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>bzdecompress</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.bzdecompress">
|
||||
<refnamediv>
|
||||
|
@ -8,11 +8,11 @@
|
|||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>bzdecompress</methodname>
|
||||
<methodparam><type>string</type><parameter>source</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>small</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>bzdecompress</methodname>
|
||||
<methodparam><type>string</type><parameter>source</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>small</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>bzdecompress</function> decompresses the
|
||||
<parameter>source</parameter> string containing bzip2 encoded
|
||||
|
@ -23,16 +23,9 @@
|
|||
roughly half the speed. See the <ulink url="&url.bzip2;">bzip2
|
||||
documentation</ulink> for more information about this feature.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>bzcompress</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>Example</title>
|
||||
<example>
|
||||
<title><function>bzdecompress</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -51,6 +44,10 @@ echo "\n<br />\n";
|
|||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
<function>bzcompress</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.bzerror">
|
||||
<refnamediv>
|
||||
|
@ -8,26 +8,18 @@
|
|||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>bzerror</methodname>
|
||||
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>bzerror</methodname>
|
||||
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns the error number and error string, in an associative array,
|
||||
of any bzip2 error returned by the file pointer
|
||||
<parameter>bz</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>bzerrno</function>,
|
||||
<function>bzerrstr</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>Example</title>
|
||||
<example>
|
||||
<title><function>bzerror</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -39,6 +31,11 @@ echo $error["errstr"];
|
|||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>bzerrno</function> and
|
||||
<function>bzerrstr</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.bzerrstr">
|
||||
<refnamediv>
|
||||
|
@ -8,19 +8,16 @@
|
|||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>bzerrstr</methodname>
|
||||
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>bzerrstr</methodname>
|
||||
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns the error string of any bzip2 error returned by the file
|
||||
pointer <parameter>bz</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>bzerrno</function>,
|
||||
See also <function>bzerrno</function> and
|
||||
<function>bzerror</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.bzopen">
|
||||
<refnamediv>
|
||||
|
@ -8,34 +8,24 @@
|
|||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>bzopen</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>bzopen</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>bzopen</function> opens a bzip2 (.bz2) file for reading or writing.
|
||||
<parameter>filename</parameter> is the name of the file to
|
||||
open. <parameter>mode</parameter> is similar to the
|
||||
<function>fopen</function> function (`r' for read, `w' for write, etc.).
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
If the open fails, <function>bzopen</function> returns &false;, otherwise it
|
||||
returns a pointer to the newly opened file.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>bzclose</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>Example</title>
|
||||
<example>
|
||||
<title><function>bzopen</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -49,6 +39,10 @@ bzclose($bz);
|
|||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>bzclose</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.bzread">
|
||||
<refnamediv>
|
||||
|
@ -8,11 +8,11 @@
|
|||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>bzread</methodname>
|
||||
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>bzread</methodname>
|
||||
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>bzread</function> reads up to
|
||||
<parameter>length</parameter> bytes from the bzip2 file pointer
|
||||
|
@ -23,18 +23,9 @@
|
|||
<function>bzread</function> will read 1024 (uncompressed) bytes
|
||||
at a time.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>bzwrite</function>,
|
||||
<function>feof</function>,
|
||||
<function>bzopen</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>Example</title>
|
||||
<example>
|
||||
<title><function>bzread</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -55,6 +46,12 @@ echo $decompressed_file;
|
|||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>bzwrite</function>,
|
||||
<function>feof</function> and
|
||||
<function>bzopen</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.bzwrite">
|
||||
<refnamediv>
|
||||
|
@ -22,17 +22,9 @@
|
|||
after length (uncompressed) bytes have been written or the end of
|
||||
string is reached, whichever comes first.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>bzread</function>,
|
||||
<function>bzopen</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<title>Example</title>
|
||||
<example>
|
||||
<title><function>bzwrite</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -44,6 +36,11 @@ bzclose($bz);
|
|||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>bzread</function> and
|
||||
<function>bzopen</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue