svn: /phpdoc/en/trunk/ appendices/migration54.xml reference/zlib/functions/zlib-decode.xml reference/zlib/functions/zlib-encode.xml
reference/zlib/versions.xml
| From: | Philip Olson | Date: | Thu, 01 Mar 2012 16:51:06 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ appendices/migration54.xml reference/zlib/functions/zlib-decode.xml reference/zlib/functions/zlib-encode.xml reference/zlib/versions.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9737@lists.php.net to get a copy of this message | ||
philip Thu, 01 Mar 2012 16:51:06 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=323717
Log:
Added the new 5.4 zlib functions (only skeletons)
Changed paths:
U phpdoc/en/trunk/appendices/migration54.xml
A phpdoc/en/trunk/reference/zlib/functions/zlib-decode.xml
A phpdoc/en/trunk/reference/zlib/functions/zlib-encode.xml
U phpdoc/en/trunk/reference/zlib/versions.xml
Modified: phpdoc/en/trunk/appendices/migration54.xml
===================================================================
--- phpdoc/en/trunk/appendices/migration54.xml 2012-03-01 16:21:30 UTC (rev 323716)
+++ phpdoc/en/trunk/appendices/migration54.xml 2012-03-01 16:51:06 UTC (rev 323717)
@@ -542,6 +542,17 @@
</simpara>
</listitem>
</itemizedlist>
+ <simpara><link linkend="book.zlib">Zlib:</link></simpara>
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <function>zlib_decode</function>
+ </simpara>
+ <simpara>
+ <function>zlib_encode</function>
+ </simpara>
+ </listitem>
+ </itemizedlist>
</section>
<section xml:id="migration54.class-constants">
Added: phpdoc/en/trunk/reference/zlib/functions/zlib-decode.xml
===================================================================
--- phpdoc/en/trunk/reference/zlib/functions/zlib-decode.xml (rev 0)
+++ phpdoc/en/trunk/reference/zlib/functions/zlib-decode.xml 2012-03-01 16:51:06 UTC (rev 323717)
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+
+<refentry xml:id="function.zlib-decode" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>zlib_decode</refname>
+ <refpurpose>Uncompress any raw/gzip/zlib encoded data</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>zlib_decode</methodname>
+
<methodparam><type>string</type><parameter>data</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>max_decoded_len</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Uncompress any raw/gzip/zlib encoded data.
+ </para>
+
+ &warn.undocumented.func;
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>data</parameter></term>
+ <listitem>
+ <para>
+
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>max_decoded_len</parameter></term>
+ <listitem>
+ <para>
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <simplelist>
+ <member><function>zlib_encode</function></member>
+ </simplelist>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Added: phpdoc/en/trunk/reference/zlib/functions/zlib-encode.xml
===================================================================
--- phpdoc/en/trunk/reference/zlib/functions/zlib-encode.xml (rev 0)
+++ phpdoc/en/trunk/reference/zlib/functions/zlib-encode.xml 2012-03-01 16:51:06 UTC (rev 323717)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+
+<refentry xml:id="function.zlib-encode" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>zlib_encode</refname>
+ <refpurpose>Compress data with the specified encoding</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <type>string</type><methodname>zlib_encode</methodname>
+
<methodparam><type>string</type><parameter>data</parameter></methodparam>
+
<methodparam><type>string</type><parameter>encoding</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
+ </methodsynopsis>
+ <para>
+ Compress data with the specified encoding.
+ </para>
+
+ &warn.undocumented.func;
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>data</parameter></term>
+ <listitem>
+ <para>
+
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>encoding</parameter></term>
+ <listitem>
+ <para>
+
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>level</parameter></term>
+ <listitem>
+ <para>
+
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <simplelist>
+ <member><function>zlib_decode</function></member>
+ </simplelist>
+ </refsect1>
+
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Modified: phpdoc/en/trunk/reference/zlib/versions.xml
===================================================================
--- phpdoc/en/trunk/reference/zlib/versions.xml 2012-03-01 16:21:30 UTC (rev 323716)
+++ phpdoc/en/trunk/reference/zlib/versions.xml 2012-03-01 16:51:06 UTC (rev 323717)
@@ -28,6 +28,8 @@
<function name='gzwrite' from='PHP 4, PHP 5'/>
<function name='readgzfile' from='PHP 4, PHP 5'/>
<function name='zlib_get_coding_type' from='PHP 4 >= 4.3.2, PHP
5'/>
+ <function name='zlib_encode' from='PHP 5 >= 5.4.0'/>
+ <function name='zlib_decode' from='PHP 5 >= 5.4.0'/>
</versions>
<!-- Keep this comment at the end of the file