mirror of
https://github.com/php/doc-ru.git
synced 2025-08-20 16:51:35 +00:00
docs(ru): Updated to English revision
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@351637 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: rjhdby Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: rjhdby Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
|
||||
<refentry xml:id="function.deflate-add" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>deflate_add</refname>
|
||||
@ -13,9 +12,9 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>deflate_add</methodname>
|
||||
<methodparam><type>resource</type><parameter>context</parameter></methodparam>
|
||||
<methodparam><type>DeflateContext</type><parameter>context</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>flush_mode</parameter><initializer>ZLIB_SYNC_FLUSH</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>flush_mode</parameter><initializer><constant>ZLIB_SYNC_FLUSH</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Инкрементальное сжатие данных в указанном контексте.
|
||||
@ -75,6 +74,29 @@
|
||||
</para>
|
||||
</refsect1><!-- }}} -->
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
<parameter>context</parameter> ожидает экзеемпляр <classname>DeflateContext</classname>;
|
||||
раньше, ожидался ресурс (<type>resource</type>).
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso"><!-- {{{ -->
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@ -83,7 +105,6 @@
|
||||
</refsect1><!-- }}} -->
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: 5c818901d4f95ed211ecb3d476472cec1c739979 Maintainer: rjhdby Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: rjhdby Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
|
||||
<refentry xml:id="function.deflate-init" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>deflate_init</refname>
|
||||
@ -12,9 +11,9 @@
|
||||
<refsect1 role="description"><!-- {{{ -->
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>resource</type><type>false</type></type><methodname>deflate_init</methodname>
|
||||
<type class="union"><type>DeflateContext</type><type>false</type></type><methodname>deflate_init</methodname>
|
||||
<methodparam><type>int</type><parameter>encoding</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>array()</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Инициализирует контекст инкрементального сжатия с использованием указанной кодировки
|
||||
@ -122,6 +121,29 @@
|
||||
</para>
|
||||
</refsect1><!-- }}} -->
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
В случае успешного выполнения функция возвращает экземпляр <classname>DeflateContext</classname>;
|
||||
раньше, возвращался ресурс (<type>resource</type>).
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso"><!-- {{{ -->
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@ -131,7 +153,6 @@
|
||||
</refsect1><!-- }}} -->
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzclose" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>gzclose</methodname>
|
||||
<methodparam><type>resource</type><parameter>zp</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Закрывает открытый gz-файл по переданному указателю.
|
||||
@ -22,7 +22,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zp</parameter></term>
|
||||
<term><parameter>stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Указатель на gz-файл. Должен указывать на файл, успешно открытый <function>gzopen</function>.
|
||||
@ -64,7 +64,6 @@ gzclose($gz);
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 3e15d2894fb35432d2a111db36fe8ba8ebc62024 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzcompress" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
@ -10,10 +10,10 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>gzcompress</methodname>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>gzcompress</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer>ZLIB_ENCODING_DEFLATE</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer><constant>ZLIB_ENCODING_DEFLATE</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Данная функция сжимает строку используя формат данных <literal>ZLIB</literal>.
|
||||
@ -98,7 +98,6 @@ echo $compressed;
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- $Revision$ -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<refentry xml:id="function.gzdecode" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,9 +10,9 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>gzdecode</methodname>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>gzdecode</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Эта функция возвращает декодированную версию входных данных.
|
||||
@ -32,7 +32,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>length</parameter></term>
|
||||
<term><parameter>max_length</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Максимальный размер строки для декодирования.
|
||||
@ -58,7 +58,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 3e15d2894fb35432d2a111db36fe8ba8ebc62024 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzdeflate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
@ -10,10 +10,10 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>gzdeflate</methodname>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>gzdeflate</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer>ZLIB_ENCODING_RAW</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer><constant>ZLIB_ENCODING_RAW</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Данная функция сжимает строку, используя формат данных <literal>DEFLATE</literal>.
|
||||
@ -89,7 +89,6 @@ echo $compressed;
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 3e15d2894fb35432d2a111db36fe8ba8ebc62024 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzencode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
@ -11,10 +11,10 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>gzencode</methodname>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>gzencode</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>encoding_mode</parameter><initializer>FORCE_GZIP</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer><constant>ZLIB_ENCODING_GZIP</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Эта функция возвращает сжатую версию входных данных <parameter>data</parameter>,
|
||||
@ -47,7 +47,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>encoding_mode</parameter></term>
|
||||
<term><parameter>encoding</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Режим сжатия, может быть <constant>FORCE_GZIP</constant> (по умолчанию)
|
||||
@ -116,7 +116,6 @@ fclose($fp);
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzeof" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,8 +10,8 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>gzeof</methodname>
|
||||
<methodparam><type>resource</type><parameter>zp</parameter></methodparam>
|
||||
<type>bool</type><methodname>gzeof</methodname>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Проверяет, соответствует ли позиция указателя в GZ-файле позиции <acronym>EOF</acronym> (end-of-file, конец файла).
|
||||
@ -22,7 +22,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zp</parameter></term>
|
||||
<term><parameter>stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Указатель на gz-файл. Он должен быть корректный и должен указывать на файл,
|
||||
@ -60,7 +60,6 @@ gzclose($gz);
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 45305384e6e743178a7794bb255f9bb60d63c593 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzfile" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,7 +10,7 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>gzfile</methodname>
|
||||
<type class="union"><type>array</type><type>false</type></type><methodname>gzfile</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
@ -47,7 +47,8 @@
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Массив строк файла, в каждом элементе массива находится одна строка,
|
||||
пустые строки включаются, а переносы строк по-прежнему добавляются.
|
||||
пустые строки включаются, а переносы строк по-прежнему добавляются,
|
||||
&return.falseforfailure;.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
@ -78,7 +79,6 @@ foreach ($lines as $line) {
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzgetc" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,8 +10,8 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>gzgetc</methodname>
|
||||
<methodparam><type>resource</type><parameter>zp</parameter></methodparam>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>gzgetc</methodname>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Возвращает строку, содержащую один символ (несжатый), считанный из заданного указателя gz-файла.
|
||||
@ -22,7 +22,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zp</parameter></term>
|
||||
<term><parameter>stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Указатель на gz-файл. Он должен быть корректный и должен указывать на файл,
|
||||
@ -68,7 +68,6 @@ gzclose($gz);
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 87a07ba92087bf9e94d967cbaabc2c627583629b Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzgets" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,9 +10,9 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>gzgets</methodname>
|
||||
<methodparam><type>resource</type><parameter>zp</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>gzgets</methodname>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>1024</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Получает строку (несжатую) из gz-файла, её длина ограничивается
|
||||
@ -26,7 +26,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zp</parameter></term>
|
||||
<term><parameter>stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Указатель на gz-файл. Он должен быть корректный и должен указывать на файл,
|
||||
@ -83,7 +83,6 @@ gzclose($handle);
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1826857e87b636e603cbd40a96b1d9f3af669dbf Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzinflate" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,9 +10,9 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>gzinflate</methodname>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>gzinflate</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Распаковывает сжатую строку.
|
||||
@ -31,7 +31,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>length</parameter></term>
|
||||
<term><parameter>max_length</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Максимальный размер данных для декодирования.
|
||||
@ -49,7 +49,7 @@
|
||||
<para>
|
||||
Функция вернет ошибку, если несжатые данные в
|
||||
32768 раз больше размера сжатых данных <parameter>data</parameter> или
|
||||
больше параметра <parameter>length</parameter>.
|
||||
больше параметра <parameter>max_length</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
@ -81,7 +81,6 @@ echo $uncompressed;
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzopen" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,7 +10,7 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>resource</type><methodname>gzopen</methodname>
|
||||
<type class="union"><type>resource</type><type>false</type></type><methodname>gzopen</methodname>
|
||||
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter><initializer>0</initializer></methodparam>
|
||||
@ -98,7 +98,6 @@ $fp = gzopen("/tmp/file.gz", "r");
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzpassthru" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -13,7 +13,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>gzpassthru</methodname>
|
||||
<methodparam><type>resource</type><parameter>zp</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Читает до конца файла (<acronym>EOF</acronym>) данные из указателя gz-файла,
|
||||
@ -38,7 +38,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zp</parameter></term>
|
||||
<term><parameter>stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Указатель на gz-файл, возвращённый, после его успешного открытия,
|
||||
@ -74,7 +74,6 @@ gzclose($fp);
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzread" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,8 +10,8 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>gzread</methodname>
|
||||
<methodparam><type>resource</type><parameter>zp</parameter></methodparam>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>gzread</methodname>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>length</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
@ -26,7 +26,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zp</parameter></term>
|
||||
<term><parameter>stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Указатель на gz-файл, возвращённый, после его успешного открытия,
|
||||
@ -48,9 +48,33 @@
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Прочтённые данные.
|
||||
Прочтённые данные, &return.falseforfailure;.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>7.4.0</entry>
|
||||
<entry>
|
||||
В случае возникновения ошибки возвращается &false;;
|
||||
раньше, возвращался <literal>0</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@ -84,7 +108,6 @@ gzclose($zd);
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzrewind" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>gzrewind</methodname>
|
||||
<methodparam><type>resource</type><parameter>zp</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Устанавливает указатель на позицию файла на начало потока этого файла.
|
||||
@ -22,7 +22,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zp</parameter></term>
|
||||
<term><parameter>stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Указатель на gz-файл, возвращённый, после его успешного открытия,
|
||||
@ -49,7 +49,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzseek" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -11,9 +11,9 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>gzseek</methodname>
|
||||
<methodparam><type>resource</type><parameter>zp</parameter></methodparam>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>whence</parameter><initializer>SEEK_SET</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>whence</parameter><initializer><constant>SEEK_SET</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Устанавливает указатель на позицию в файле, на который ссылается zp.
|
||||
@ -32,7 +32,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zp</parameter></term>
|
||||
<term><parameter>stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Указатель на gz-файл, возвращённый, после его успешного открытия, функцией <function>gzopen</function>.
|
||||
@ -102,7 +102,6 @@ gzclose($gz);
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gztell" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,8 +10,8 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>gztell</methodname>
|
||||
<methodparam><type>resource</type><parameter>zp</parameter></methodparam>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>gztell</methodname>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Получает позицию указателя файла, то есть смещение в потоке распакованного файла.
|
||||
@ -22,7 +22,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zp</parameter></term>
|
||||
<term><parameter>stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Указатель на gz-файл, возвращённый, после его успешного открытия,
|
||||
@ -50,7 +50,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzuncompress" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,9 +10,9 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>gzuncompress</methodname>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>gzuncompress</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Распаковывает сжатую строку.
|
||||
@ -31,7 +31,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>length</parameter></term>
|
||||
<term><parameter>max_length</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Максимальный размер данных для декодирования.
|
||||
@ -49,7 +49,7 @@
|
||||
<para>
|
||||
Функция также сообщит об ошибке в случае, если несжатые данные в
|
||||
32768 раз больше размера сжатых данных <parameter>data</parameter> или
|
||||
больше параметра <parameter>length</parameter>.
|
||||
больше параметра <parameter>max_length</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="examples">
|
||||
@ -81,7 +81,6 @@ echo $uncompressed;
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.gzwrite" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,13 +10,13 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>gzwrite</methodname>
|
||||
<methodparam><type>resource</type><parameter>zp</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>string</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>gzwrite</methodname>
|
||||
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Записывает содержимое <parameter>string</parameter> в данный gz-файл.
|
||||
<function>gzwrite</function> записывает содержимое <parameter>data</parameter> в данный gz-файл.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
@ -24,7 +24,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>zp</parameter></term>
|
||||
<term><parameter>stream</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Указатель на gz-файл, возвращённый, после его успешного открытия,
|
||||
@ -33,7 +33,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>string</parameter></term>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Записываемая строка.
|
||||
@ -47,15 +47,15 @@
|
||||
Число несжатых байтов для записи. Если указано, операция завершится
|
||||
после записи <parameter>length</parameter> (до сжатия) байт или при достижении конца строки,
|
||||
в зависимости от того, что наступит раньше.
|
||||
<parameter>string</parameter>.
|
||||
<parameter>data</parameter>.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Обратите внимание, что если параметр <parameter>length</parameter>
|
||||
задан, конфигурационный параметр <link
|
||||
linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>
|
||||
будет проигнорирован и удаление слешей из записываемой
|
||||
строки не будет выполнено.
|
||||
будет проигнорирован и удаление слешей из <parameter>data</parameter>
|
||||
не будет выполнено.
|
||||
</para>
|
||||
</note>
|
||||
</listitem>
|
||||
@ -67,9 +67,40 @@
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Возвращает количество записанных байт (без учёта сжатия)
|
||||
в поток gz-файла.
|
||||
в поток gz-файла, &return.falseforfailure;.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
<parameter>length</parameter> теперь допускает значение null;
|
||||
раньше значением по умолчанию был <literal>0</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>7.4.0</entry>
|
||||
<entry>
|
||||
В случае возникновения ошибки функция возвращает &false;.
|
||||
раньше возвращался <literal>0</literal>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@ -98,7 +129,6 @@ gzclose($gz);
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: rjhdby Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: rjhdby Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
|
||||
<refentry xml:id="function.inflate-get-read-len" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>inflate_get_read_len</refname>
|
||||
@ -12,8 +11,8 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>inflate_get_read_len</methodname>
|
||||
<methodparam><type>resource</type><parameter>resource</parameter></methodparam>
|
||||
<type>int</type><methodname>inflate_get_read_len</methodname>
|
||||
<methodparam><type>InflateContext</type><parameter>context</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
@ -27,7 +26,7 @@
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>resource</parameter></term>
|
||||
<term><parameter>context</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
@ -44,8 +43,30 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
<parameter>context</parameter> ожидает экземпляр <classname>InflateContext</classname>;
|
||||
раньше, ожидался ресурс (<type>resource</type>).
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: rjhdby Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: rjhdby Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
|
||||
<refentry xml:id="function.inflate-get-status" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>inflate_get_status</refname>
|
||||
@ -12,8 +11,8 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>inflate_get_status</methodname>
|
||||
<methodparam><type>resource</type><parameter>resource</parameter></methodparam>
|
||||
<type>int</type><methodname>inflate_get_status</methodname>
|
||||
<methodparam><type>InflateContext</type><parameter>context</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Обычно возвращает <constant>ZLIB_OK</constant> или <constant>ZLIB_STREAM_END</constant>.
|
||||
@ -25,7 +24,7 @@
|
||||
&reftitle.parameters;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>resource</parameter></term>
|
||||
<term><parameter>context</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
@ -42,8 +41,30 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
<parameter>context</parameter> ожидает экземпляр <classname>InflateContext</classname>;
|
||||
раньше, ожидался ресурс (<type>resource</type>).
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: rjhdby Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: rjhdby Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
|
||||
<refentry xml:id="function.inflate-add" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>inflate_add</refname>
|
||||
@ -13,9 +12,9 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>inflate_add</methodname>
|
||||
<methodparam><type>resource</type><parameter>context</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>encoded_data</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>flush_mode</parameter><initializer>ZLIB_SYNC_FLUSH</initializer></methodparam>
|
||||
<methodparam><type>InflateContext</type><parameter>context</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>flush_mode</parameter><initializer><constant>ZLIB_SYNC_FLUSH</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Инкрементально распаковывает закодированные данные в указанном контексте <parameter>context</parameter>.
|
||||
@ -37,7 +36,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>encoded_data</parameter></term>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Блок сжатых данных.
|
||||
@ -79,6 +78,29 @@
|
||||
</para>
|
||||
</refsect1><!-- }}} -->
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
<parameter>context</parameter> ожидает экземпляр <classname>InflateContext</classname>;
|
||||
раньше, ожидался ресурс (<type>resource</type>).
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso"><!-- {{{ -->
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@ -87,7 +109,6 @@
|
||||
</refsect1><!-- }}} -->
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: rjhdby Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: rjhdby Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
|
||||
<refentry xml:id="function.inflate-init" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>inflate_init</refname>
|
||||
@ -12,9 +11,9 @@
|
||||
<refsect1 role="description"><!-- {{{ -->
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>resource</type><type>false</type></type><methodname>inflate_init</methodname>
|
||||
<type class="union"><type>InflateContext</type><type>false</type></type><methodname>inflate_init</methodname>
|
||||
<methodparam><type>int</type><parameter>encoding</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>array()</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Инициализирует контекст инкрементальной распаковки с указанной кодировкой
|
||||
@ -105,6 +104,29 @@
|
||||
</para>
|
||||
</refsect1><!-- }}} -->
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
В случае успешного выполенения функция возвращает экземпляр <classname>InflateContext</classname>;
|
||||
раньше возвращался ресурс (<type>resource</type>).
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso"><!-- {{{ -->
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
@ -114,7 +136,6 @@
|
||||
</refsect1><!-- }}} -->
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: irker Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: irker Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.zlib-decode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
@ -13,7 +13,7 @@
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>string</type><type>false</type></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>
|
||||
<methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Распаковывает любые закодированные данные raw/gzip/zlib.
|
||||
@ -35,7 +35,7 @@
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>max_decoded_len</parameter></term>
|
||||
<term><parameter>max_length</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
|
||||
@ -60,7 +60,6 @@
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: fa994a739c769e155f6b6848f66f1f9a24ec9eb0 Maintainer: irker Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: irker Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.zlib-encode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
@ -11,7 +11,7 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>zlib_encode</methodname>
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>zlib_encode</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>encoding</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
|
||||
@ -93,7 +93,6 @@ echo bin2hex($enc);
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: mch Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.zlib-get-coding-type" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -10,8 +10,8 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>zlib_get_coding_type</methodname>
|
||||
<void />
|
||||
<type class="union"><type>string</type><type>false</type></type><methodname>zlib_get_coding_type</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Возвращает способ кодирования, используемый для сжатия вывода.
|
||||
@ -35,7 +35,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 6f5d31d899c1b3f069893d84d61fe7f247bb0256 Maintainer: shein Status: ready -->
|
||||
<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: shein Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
|
||||
@ -30,8 +30,10 @@
|
||||
<section xml:id="zlib.resources">
|
||||
&reftitle.resources;
|
||||
<para>
|
||||
Этот модуль определяет ресурс дескриптора, который возвращается функцией
|
||||
Модуль определяет ресурс дескриптора, который возвращается функцией
|
||||
<function>gzopen</function>.
|
||||
До PHP 8.0.0 также были определены ресурсы <literal>zlib.deflate</literal>
|
||||
и <literal>zlib.inflate</literal>.
|
||||
</para>
|
||||
</section>
|
||||
<!-- }}} -->
|
||||
|
Reference in New Issue
Block a user