svn: /phpdoc/ru/trunk/ appendices/migration80/incompatible.xml reference/bzip2/functions/bzcompress.xml reference/bzip2/functions/bzdecompress.xml reference/bzip2/functions/bzopen.xml reference/bzip2/functions/bzread.xml reference/bzip2/functions/bzwrite.xml reference/com/com/construct.xml reference/com/dotnet/construct.xml reference/com/variant/construct.xml reference/libxml/functions/libxml-get-last-error.xml reference/libxml/functions/libxml-set-external-entity-loader.xml reference/libxml/fun
[email protected] (Sergey Panteleev) Tue, 24 Nov 2020 05:21:18 +0000
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Tue, 24 Nov 2020 05:21:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351564
Log:
docs(ru): Updated to English revision
Changed paths:
U phpdoc/ru/trunk/appendices/migration80/incompatible.xml
U phpdoc/ru/trunk/reference/bzip2/functions/bzcompress.xml
U phpdoc/ru/trunk/reference/bzip2/functions/bzdecompress.xml
U phpdoc/ru/trunk/reference/bzip2/functions/bzopen.xml
U phpdoc/ru/trunk/reference/bzip2/functions/bzread.xml
U phpdoc/ru/trunk/reference/bzip2/functions/bzwrite.xml
U phpdoc/ru/trunk/reference/com/com/construct.xml
U phpdoc/ru/trunk/reference/com/dotnet/construct.xml
U phpdoc/ru/trunk/reference/com/variant/construct.xml
U phpdoc/ru/trunk/reference/libxml/functions/libxml-get-last-error.xml
U phpdoc/ru/trunk/reference/libxml/functions/libxml-set-external-entity-loader.xml
U phpdoc/ru/trunk/reference/libxml/functions/libxml-set-streams-context.xml
U phpdoc/ru/trunk/reference/libxml/functions/libxml-use-internal-errors.xml
U phpdoc/ru/trunk/reference/readline/functions/readline-add-history.xml
U phpdoc/ru/trunk/reference/readline/functions/readline-completion-function.xml
U phpdoc/ru/trunk/reference/readline/functions/readline-info.xml
U phpdoc/ru/trunk/reference/readline/functions/readline-read-history.xml
U phpdoc/ru/trunk/reference/readline/functions/readline-write-history.xml
U phpdoc/ru/trunk/reference/readline/functions/readline.xml
U phpdoc/ru/trunk/reference/strings/functions/stripos.xml
U phpdoc/ru/trunk/reference/strings/functions/strpos.xml
svn-diffs-351564.txt
(text/x-diff, 57 KB)
Modified: phpdoc/ru/trunk/appendices/migration80/incompatible.xml
===================================================================
--- phpdoc/ru/trunk/appendices/migration80/incompatible.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/appendices/migration80/incompatible.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351500 Maintainer: sergey Status: ready -->
+<!-- EN-Revision: 351543 Maintainer: sergey Status: ready -->
<!-- Reviewed: no -->
<sect1 xml:id="migration80.incompatible" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Изменения, ломающие обратную совместимость</title>
-
+
<sect2 xml:id="migration80.incompatible.core">
<title>Ядро PHP</title>
-
+
<sect3 xml:id="migration80.incompatible.core.string-number-comparision">
<title>Сравнение строк с числами</title>
-
+
<para>
Нестрогие сравнения чисел и нечисловых строк теперь работают, как преобразование числа
в строку с последующим сравнением строк. Сравнение чисел и числовых строк продолжает работать,
@@ -63,10 +63,10 @@
<!-- RFC: https://wiki.php.net/rfc/string_to_number_comparison -->
</para>
</sect3>
-
+
<sect3 xml:id="migration80.incompatible.core.other">
<title>Другие изменения, ломающие обратную совместимость</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -98,11 +98,11 @@
</para>
</listitem>
<listitem>
- <para>
- INI-директива <link linkend="ini.track-errors">track_errors</link> удалена. Это означает,
- что <varname>php_errormsg</varname> больше не доступен. Вместо него можно использовать функцию
- <function>error_get_last</function>.
- </para>
+ <para>
+ INI-директива <link linkend="ini.track-errors">track_errors</link> удалена. Это означает,
+ что <varname>php_errormsg</varname> больше не доступен. Вместо него можно использовать функцию
+ <function>error_get_last</function>.
+ </para>
</listitem>
<listitem>
<para>
@@ -455,12 +455,12 @@
Приведение с плавающей точкой в строку теперь всегда будет вести себя независимо от локали.
</para>
<para>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
+ <programlisting role="php">
+<![CDATA[
<?php
setlocale(LC_ALL, "de_DE");
-$f = 3.14;
-echo $f, "\n";
// Ранее: 3,14
// Теперь: 3.14
?>
@@ -478,7 +478,7 @@
Удалена поддержка устаревших фигурных скобок для доступа к смещению.
</para>
<para>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
// Вместо:
@@ -605,41 +605,41 @@
</itemizedlist>
</sect3>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.resource2object">
<title>Миграция ресурса в объект</title>
-
+
<para>
Несколько ресурсов (&resource;) были перенесены в объекты (&object;).
Проверки возвращаемого значения с использованием <function>is_resource</function> следует заменить проверками на &false;.
</para>
<itemizedlist>
- <listitem>
- <para>
- <function>curl_init</function> теперь возвращает объект <classname>CurlHandle</classname>
- вместо ресурса (&resource;) Функция <function>curl_close</function> больше не имеет смысла,
- вместо этого экземпляр <classname>CurlHandle</classname> автоматически уничтожается, если на него
- больше нет ссылки.
- </para>
- </listitem>
- <listitem>
- <para>
- <function>curl_multi_init</function> теперь возвращает объект <classname>CurlMultiHandle</classname>
- вместо ресурса (&resource;). Функция <function>curl_multi_close</function> больше не имеет смысла,
- вместо этого экземпляр <classname>CurlMultiHandle</classname> автоматически уничтожается, если на него
- больше нет ссылки.
- </para>
- </listitem>
- <listitem>
- <para>
- <function>curl_share_init</function> теперь возвращает объект <classname>CurlShareHandle</classname>
- вместо ресурса (&resource;). Функция <function>curl_share_close</function> больше не имеет смысла,
- вместо этого экземпляр <classname>CurlShareHandle</classname> автоматически уничтожается, если на него
- больше нет ссылки.
- </para>
- </listitem>
<listitem>
<para>
+ <function>curl_init</function> теперь возвращает объект <classname>CurlHandle</classname>
+ вместо ресурса (&resource;) Функция <function>curl_close</function> больше не имеет смысла,
+ вместо этого экземпляр <classname>CurlHandle</classname> автоматически уничтожается, если на него
+ больше нет ссылки.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <function>curl_multi_init</function> теперь возвращает объект <classname>CurlMultiHandle</classname>
+ вместо ресурса (&resource;). Функция <function>curl_multi_close</function> больше не имеет смысла,
+ вместо этого экземпляр <classname>CurlMultiHandle</classname> автоматически уничтожается, если на него
+ больше нет ссылки.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <function>curl_share_init</function> теперь возвращает объект <classname>CurlShareHandle</classname>
+ вместо ресурса (&resource;). Функция <function>curl_share_close</function> больше не имеет смысла,
+ вместо этого экземпляр <classname>CurlShareHandle</classname> автоматически уничтожается, если на него
+ больше нет ссылки.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
<function>enchant_broker_init</function> теперь возвращает объект <classname>EnchantBroker</classname>
вместо ресурса (&resource;).
</para>
@@ -684,13 +684,13 @@
</para>
</listitem>
<listitem>
- <para>
- <function>shmop_open</function> теперь возвращает объект <classname>Shmop</classname> вместо
- ресурса (&resource;). Функция <function>shmop_close</function> больше не имеет смысла и объявлена устаревшей;
- вместо этого экземпляр <classname>Shmop</classname> автоматически уничтожается, если на него
- больше не ссылаются.
- </para>
- </listitem>
+ <para>
+ <function>shmop_open</function> теперь возвращает объект <classname>Shmop</classname> вместо
+ ресурса (&resource;). Функция <function>shmop_close</function> больше не имеет смысла и объявлена устаревшей;
+ вместо этого экземпляр <classname>Shmop</classname> автоматически уничтожается, если на него
+ больше не ссылаются.
+ </para>
+ </listitem>
<listitem>
<para>
<function>socket_create</function>, <function>socket_create_listen</function>,
@@ -748,10 +748,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.com">
<title>COM и .Net (Windows)</title>
-
+
<para>
Возможность импорта констант без учета регистра из библиотек типов была удалена.
Второй аргумент <function>com_load_typelib</function> больше не может быть false;
@@ -760,10 +760,10 @@
<link linkend="ini.com.typelib-file">com.typelib_file</link> игнорируются.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.curl">
<title>CURL</title>
-
+
<para>
<constant>CURLOPT_POSTFIELDS</constant> больше не принимает объекты как массивы.
Чтобы интерпретировать объект как массив, выполните явное приведение <code>(array)</code>.
@@ -770,19 +770,19 @@
То же самое относится и к другим параметрам, принимающим массивы.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.datetime">
<title>Дата и время</title>
-
+
<para>
Для работы функций <function>mktime</function> и <function>gmmktime</function> теперь требуется
хотя бы один аргумент. <function>time</function> может использоваться для получения текущей отметки времени.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.dom">
<title>DOM</title>
-
+
<para>
Были удалены нереализованные классы из модуля DOM, которые не имели обработчика и содержали
тестовые данные. Эти классы также были удалены в последней версии
@@ -802,10 +802,10 @@
</simplelist>
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.enchant">
<title>Enchant</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -815,19 +815,19 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.exif">
<title>Exif</title>
-
+
<para>
<function>read_exif_data</function> была удалена; Вместо нее следует
использовать <function>exif_read_data</function>.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.filter">
<title>Filter</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -846,10 +846,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.gd">
<title>GD</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -877,10 +877,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.gmp">
<title>GMP</title>
-
+
<para>
<function>gmp_random</function> была удалена. Вместо нее следует использовать
<function>gmp_random_range</function> или
@@ -887,19 +887,19 @@
<function>gmp_random_bits</function>.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.iconv">
<title>Iconv</title>
-
+
<para>
Реализации iconv, которые неправильно устанавливают <varname>errno</varname> в случае возникновения ошибок,
больше не поддерживаются.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.imap">
<title>IMAP</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -915,10 +915,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.intl">
<title>Функции интернационализации</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -927,37 +927,37 @@
</para>
</listitem>
<listitem>
- <para>
- Устаревшая константа <constant>Normalizer::NONE</constant> удалена.
- </para>
+ <para>
+ Устаревшая константа <constant>Normalizer::NONE</constant> удалена.
+ </para>
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.ldap">
<title>LDAP</title>
-
+
<itemizedlist>
<listitem>
- <para>
- Устаревшие функции <function>ldap_sort</function>,
- <function>ldap_control_paged_result</function> и
- <function>ldap_control_paged_result_response</function> удалены.
- </para>
- </listitem>
- <listitem>
- <para>
- Изменился интерфейс <function>ldap_set_rebind_proc</function>;
- параметр <parameter>callback</parameter> больше не принимает пустые строки; вместо этого
- следует указывать &null;.
- </para>
+ <para>
+ Устаревшие функции <function>ldap_sort</function>,
+ <function>ldap_control_paged_result</function> и
+ <function>ldap_control_paged_result_response</function> удалены.
+ </para>
</listitem>
+ <listitem>
+ <para>
+ Изменился интерфейс <function>ldap_set_rebind_proc</function>;
+ параметр <parameter>callback</parameter> больше не принимает пустые строки; вместо этого
+ следует указывать &null;.
+ </para>
+ </listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.mbstring">
<title>MBString</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1050,10 +1050,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.oci8">
<title>OCI8</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1075,10 +1075,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.odbc">
<title>ODBC</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1093,10 +1093,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.openssl">
<title>OpenSSL</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1107,19 +1107,19 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.pcre">
<title>Регулярные выражения (совместимые с Perl)</title>
-
+
<para>
При передаче недопустимых управляющих последовательностей они больше не интерпретируются как литералы. Такое поведение
ранее требовало модификатора <literal>X</literal>, который теперь игнорируется.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.pdo">
<title>Объекты данных PHP</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1141,10 +1141,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.pdo-odbc">
<title>PDO ODBC</title>
-
+
<para>
Директива &php.ini;
<link linkend="ini.pdo-odbc.db2-instance-name">pdo_odbc.db2_instance_name</link>
@@ -1151,10 +1151,10 @@
была удалена.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.pgsql">
<title>PostgreSQL</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1177,10 +1177,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.phar">
<title>Phar</title>
-
+
<para>
Метаданные, связанные с phar, больше не будут автоматически десериализоваться, чтобы исправить потенциальные
уязвимости безопасности из-за создания экземпляров объекта, автозагрузки и т.д.
@@ -1187,10 +1187,10 @@
<!-- RFC: https://wiki.php.net/rfc/phar_stop_autoloading_metadata -->
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.reflection">
<title>Reflection</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1257,10 +1257,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.sockets">
<title>Сокеты</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1271,10 +1271,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.spl">
<title>Стандартная библиотека PHP (SPL)</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1317,10 +1317,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.standard">
<title>Библиотека стандартных функций</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1519,8 +1519,8 @@
</listitem>
<listitem>
<para>
- <function>substr</function>, <function>mb_substr</function>, <function>iconv_substr</function> и
- <function>grapheme_substr</function> теперь последовательно фиксируют смещения за пределы
+ <function>substr</function>, <function>mb_substr</function>, <function>iconv_substr</function> и
+ <function>grapheme_substr</function> теперь последовательно фиксируют смещения за пределы
границы строки. Ранее, в некоторых случаях, вместо пустой строки возвращался &false;.
</para>
</listitem>
@@ -1534,10 +1534,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.sysvsem">
<title>Sysvsem</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1547,10 +1547,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.tidy">
<title>Tidy</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1566,10 +1566,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.tokenizer">
<title>PHP-лексер (Tokenizer)</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1591,10 +1591,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.xmlreader">
<title>XMLReader</title>
-
+
<para>
<methodname>XMLReader::open</methodname> и <methodname>XMLReader::xml</methodname> теперь являются
статическими методами. Их по-прежнему можно вызывать как методы экземпляра, но наследующие классы должны объявлять
@@ -1601,28 +1601,28 @@
их как статические, если они переопределяют эти методы.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.xmlrpc">
<title>XML-RPC</title>
-
+
<para>
Модуль XML-RPC был перемещен в PECL и больше не является частью
дистрибутива PHP.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.zip">
<title>Zip</title>
-
+
<para>
<constant>ZipArchive::OPSYS_Z_CPM</constant> была удалена (это имя было опечаткой). Используйте
вместо нее <constant>ZipArchive::OPSYS_CPM</constant>.
</para>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.zlib">
<title>Zlib</title>
-
+
<itemizedlist>
<listitem>
<para>
@@ -1637,10 +1637,10 @@
</listitem>
</itemizedlist>
</sect2>
-
+
<sect2 xml:id="migration80.incompatible.php-test-packs">
<title>Пакеты тестов PHP для Windows</title>
-
+
<para>
Средство выполнения тестов было переименовано из <filename>run-test.php</filename>
в <filename>run-tests.php</filename>, чтобы соответствовать его имени в php-src.
Modified: phpdoc/ru/trunk/reference/bzip2/functions/bzcompress.xml
===================================================================
--- phpdoc/ru/trunk/reference/bzip2/functions/bzcompress.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/bzip2/functions/bzcompress.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 313913 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351552 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.bzcompress" xmlns="http://docbook.org/ns/docbook">
@@ -10,10 +10,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>bzcompress</methodname>
- <methodparam><type>string</type><parameter>source</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>blocksize</parameter><initializer>4</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>workfactor</parameter><initializer>0</initializer></methodparam>
+ <type class="union"><type>string</type><type>int</type></type><methodname>bzcompress</methodname>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>block_size</parameter><initializer>4</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>work_factor</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
<function>bzcompress</function> сжимает переданную строку и
@@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>source</parameter></term>
+ <term><parameter>data</parameter></term>
<listitem>
<para>
Сжимаемая строка.
@@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>blocksize</parameter></term>
+ <term><parameter>block_size</parameter></term>
<listitem>
<para>
Определяет размера блока, используемый при сжатии, должен быть числом
@@ -42,7 +42,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>workfactor</parameter></term>
+ <term><parameter>work_factor</parameter></term>
<listitem>
<para>
Контролирует поведение фазы компрессии в худшем случае, когда входные
@@ -50,7 +50,7 @@
значения между 0 и 250, где 0 означает специальный случай.
</para>
<para>
- Генерируемый результат не зависит от параметра <parameter>workfactor</parameter>
+ Генерируемый результат не зависит от параметра <parameter>work_factor</parameter>
и является одним и тем же.
</para>
</listitem>
@@ -88,7 +88,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/bzip2/functions/bzdecompress.xml
===================================================================
--- phpdoc/ru/trunk/reference/bzip2/functions/bzdecompress.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/bzip2/functions/bzdecompress.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 313913 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351552 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.bzdecompress" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -10,9 +10,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>mixed</type><methodname>bzdecompress</methodname>
- <methodparam><type>string</type><parameter>source</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>small</parameter><initializer>0</initializer></methodparam>
+ <type class="union"><type>string</type><type>int</type><type>false</type></type><methodname>bzdecompress</methodname>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>use_less_memory</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
<function>bzdecompress</function> распаковывает переданную строку,
@@ -24,7 +24,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>source</parameter></term>
+ <term><parameter>data</parameter></term>
<listitem>
<para>
Распаковываемая строка.
@@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>small</parameter></term>
+ <term><parameter>use_less_memory</parameter></term>
<listitem>
<para>
Если &true;, то будет использован альтернативный алгоритм распаковки,
@@ -51,9 +51,34 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Распакованная строка или код ошибки в случае неудачного завершения работы.
+ Распакованная строка или &false; или код ошибки в случае возникновения ошибки.
</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>use_less_memory</parameter> изменен с
+ <type>int</type> на <type>bool</type>. Ранее значением по умолчению был
+ <literal>0</literal>.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -88,7 +113,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/bzip2/functions/bzopen.xml
===================================================================
--- phpdoc/ru/trunk/reference/bzip2/functions/bzopen.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/bzip2/functions/bzopen.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 336899 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351552 Maintainer: shein Status: ready -->
<!-- Reviewed: yes-->
<!-- $Revision$ -->
<refentry xml:id="function.bzopen" xmlns="http://docbook.org/ns/docbook">
@@ -10,12 +10,12 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>resource</type><methodname>bzopen</methodname>
- <methodparam><type>mixed</type><parameter>file</parameter></methodparam>
+ <type class="union"><type>resource</type><type>false</type></type><methodname>bzopen</methodname>
+ <methodparam><type class="union"><type>string</type><type>resource</type></type><parameter>file</parameter></methodparam>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
</methodsynopsis>
<para>
- <function>bzopen</function> открывает bzip2 (.bz2) файл для чтения либо записи.
+ <function>bzopen</function> открывает bzip2 (<filename>.bz2</filename>) файл для чтения либо записи.
</para>
</refsect1>
<refsect1 role="parameters">
@@ -34,7 +34,7 @@
<term><parameter>mode</parameter></term>
<listitem>
<para>
- Поддерживаются только 'r' (чтение) и 'w' (запись). Все остальное заставит
+ Поддерживаются только <literal>'r'</literal> (чтение) и <literal>'w'</literal> (запись). Все остальное заставит
<function>bzopen</function> вернуть &false;.
</para>
</listitem>
@@ -78,7 +78,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/bzip2/functions/bzread.xml
===================================================================
--- phpdoc/ru/trunk/reference/bzip2/functions/bzread.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/bzip2/functions/bzread.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 308599 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351552 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.bzread" xmlns="http://docbook.org/ns/docbook">
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>bzread</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>bzread</methodname>
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>1024</initializer></methodparam>
</methodsynopsis>
@@ -92,7 +92,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/bzip2/functions/bzwrite.xml
===================================================================
--- phpdoc/ru/trunk/reference/bzip2/functions/bzwrite.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/bzip2/functions/bzwrite.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351552 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.bzwrite" xmlns="http://docbook.org/ns/docbook">
@@ -10,10 +10,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>bzwrite</methodname>
+ <type class="union"><type>int</type><type>false</type></type><methodname>bzwrite</methodname>
<methodparam><type>resource</type><parameter>bz</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>bzwrite</function> записывает строку в переданный bzip2 файловый поток.
@@ -59,6 +59,29 @@
Возвращает количество записанных байт или &false; в случае ошибки.
</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.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -87,7 +110,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/com/com/construct.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/com/construct.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/com/com/construct.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350083 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351554 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="com.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>com::__construct</refname>
@@ -12,11 +11,11 @@
<refsect1 role="description">
&reftitle.description;
<constructorsynopsis role="oop">
- <methodname>com::__construct</methodname>
+ <modifier>public</modifier> <methodname>com::__construct</methodname>
<methodparam><type>string</type><parameter>module_name</parameter></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>server_name</parameter><initializer>&null;</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>codepage</parameter><initializer>CP_ACP</initializer></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>typelib</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>array</type><type>string</type><type>null</type></type><parameter>server_name</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>codepage</parameter><initializer><constant>CP_ACP</constant></initializer></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>typelib</parameter><initializer>""</initializer></methodparam>
</constructorsynopsis>
<para>
Создает объект класса com.
@@ -154,7 +153,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/com/dotnet/construct.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/dotnet/construct.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/com/dotnet/construct.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349253 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351554 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="dotnet.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>dotnet::__construct</refname>
@@ -12,10 +11,10 @@
<refsect1 role="description">
&reftitle.description;
<constructorsynopsis role="oop">
- <methodname>dotnet::__construct</methodname>
+ <modifier>public</modifier> <methodname>dotnet::__construct</methodname>
<methodparam><type>string</type><parameter>assembly_name</parameter></methodparam>
- <methodparam><type>string</type><parameter>class_name</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>codepage</parameter><initializer>CP_ACP</initializer></methodparam>
+ <methodparam><type>string</type><parameter>datatype_name</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>codepage</parameter><initializer><constant>CP_ACP</constant></initializer></methodparam>
</constructorsynopsis>
<para>
Создает объект класса dotnet.
@@ -34,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>class_name</parameter></term>
+ <term><parameter>datatype_name</parameter></term>
<listitem>
<simpara>
Имя класса для инстанцияции.
@@ -54,7 +53,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/com/variant/construct.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/variant/construct.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/com/variant/construct.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349253 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351554 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="variant.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>variant::__construct</refname>
@@ -12,10 +11,10 @@
<refsect1 role="description">
&reftitle.description;
<constructorsynopsis role="oop">
- <methodname>variant::__construct</methodname>
+ <modifier>public</modifier> <methodname>variant::__construct</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>value</parameter><initializer>&null;</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>VT_EMPTY</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>codepage</parameter><initializer>CP_ACP</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer><constant>VT_EMPTY</constant></initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>codepage</parameter><initializer><constant>CP_ACP</constant></initializer></methodparam>
</constructorsynopsis>
<para>
Создает объект класса variant.
@@ -66,7 +65,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/libxml/functions/libxml-get-last-error.xml
===================================================================
--- phpdoc/ru/trunk/reference/libxml/functions/libxml-get-last-error.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/libxml/functions/libxml-get-last-error.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351550 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.libxml-get-last-error" xmlns="http://docbook.org/ns/docbook">
@@ -12,7 +12,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>LibXMLError</type><methodname>libxml_get_last_error</methodname>
+ <type class="union"><type>LibXMLError</type><type>false</type></type><methodname>libxml_get_last_error</methodname>
<void/>
</methodsynopsis>
<para>
@@ -38,7 +38,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/libxml/functions/libxml-set-external-entity-loader.xml
===================================================================
--- phpdoc/ru/trunk/reference/libxml/functions/libxml-set-external-entity-loader.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/libxml/functions/libxml-set-external-entity-loader.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 343898 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351550 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.libxml-set-external-entity-loader" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>libxml_set_external_entity_loader</methodname>
- <methodparam><type>callable</type><parameter>resolver_function</parameter></methodparam>
+ <methodparam><type class="union"><type>callable</type><type>null</type></type><parameter>resolver_function</parameter></methodparam>
</methodsynopsis>
<para>
Изменение загрузчика по умолчанию для внешних объектов.
@@ -107,7 +107,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/libxml/functions/libxml-set-streams-context.xml
===================================================================
--- phpdoc/ru/trunk/reference/libxml/functions/libxml-set-streams-context.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/libxml/functions/libxml-set-streams-context.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351550 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.libxml-set-streams-context" xmlns="http://docbook.org/ns/docbook">
@@ -14,7 +14,7 @@
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>libxml_set_streams_context</methodname>
- <methodparam><type>resource</type><parameter>streams_context</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
<para>
Установка контекста потока для следующей загрузки или записи
@@ -27,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>streams_context</parameter></term>
+ <term><parameter>context</parameter></term>
<listitem>
<para>
Ресурс контекста потока (созданный функцией
@@ -83,7 +83,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/libxml/functions/libxml-use-internal-errors.xml
===================================================================
--- phpdoc/ru/trunk/reference/libxml/functions/libxml-use-internal-errors.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/libxml/functions/libxml-use-internal-errors.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 343899 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 351550 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.libxml-use-internal-errors" xmlns="http://docbook.org/ns/docbook">
@@ -14,7 +14,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>libxml_use_internal_errors</methodname>
- <methodparam choice="opt"><type>bool</type><parameter>use_errors</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>bool</type><type>null</type></type><parameter>use_errors</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>libxml_use_internal_errors</function> позволяет отключить
@@ -45,6 +45,29 @@
<parameter>use_errors</parameter>.
</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>use_errors</parameter> теперь допускает значение null.
+ Ранее значением по умолчанию было &false;.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
<refsect1 role="examples">
&reftitle.examples;
@@ -96,7 +119,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/readline/functions/readline-add-history.xml
===================================================================
--- phpdoc/ru/trunk/reference/readline/functions/readline-add-history.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/readline/functions/readline-add-history.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351551 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="function.readline-add-history" xmlns="http://docbook.org/ns/docbook">
@@ -13,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>readline_add_history</methodname>
- <methodparam><type>string</type><parameter>line</parameter></methodparam>
+ <methodparam><type>string</type><parameter>prompt</parameter></methodparam>
</methodsynopsis>
<para>
Добавляет строку в историю ввода.
@@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>line</parameter></term>
+ <term><parameter>prompt</parameter></term>
<listitem>
<para>
Строка, которую надо добавить в историю команд.
@@ -43,7 +43,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/readline/functions/readline-completion-function.xml
===================================================================
--- phpdoc/ru/trunk/reference/readline/functions/readline-completion-function.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/readline/functions/readline-completion-function.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 324122 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351551 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="function.readline-completion-function" xmlns="http://docbook.org/ns/docbook">
@@ -13,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>readline_completion_function</methodname>
- <methodparam><type>callable</type><parameter>function</parameter></methodparam>
+ <methodparam><type>callable</type><parameter>callback</parameter></methodparam>
</methodsynopsis>
<para>
Функция регистрирует функцию автодополнения. Это то же самое, как если
@@ -26,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>function</parameter></term>
+ <term><parameter>callback</parameter></term>
<listitem>
<para>
Имя функции, которая принимает строку и возвращает массив
@@ -45,7 +45,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/readline/functions/readline-info.xml
===================================================================
--- phpdoc/ru/trunk/reference/readline/functions/readline-info.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/readline/functions/readline-info.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351551 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.readline-info" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>readline_info</refname>
@@ -13,8 +12,8 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>readline_info</methodname>
- <methodparam choice="opt"><type>string</type><parameter>varname</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>newvalue</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>var_name</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type class="union"><type>int</type><type>string</type><type>bool</type><type>null</type></type><parameter>value</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Устанавливает/читает различные внутренние переменные readline.
@@ -26,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>varname</parameter></term>
+ <term><parameter>var_name</parameter></term>
<listitem>
<para>
Имя переменной.
@@ -34,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>newvalue</parameter></term>
+ <term><parameter>value</parameter></term>
<listitem>
<para>
Если задано, то переменной будет присвоено это значение.
@@ -60,8 +59,28 @@
</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>var_name</parameter> и <parameter>value</parameter> теперь допускают значение null.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/readline/functions/readline-read-history.xml
===================================================================
--- phpdoc/ru/trunk/reference/readline/functions/readline-read-history.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/readline/functions/readline-read-history.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351551 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="function.readline-read-history" xmlns="http://docbook.org/ns/docbook">
@@ -13,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>readline_read_history</methodname>
- <methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>filename</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Функция читает историю команд из файла.
@@ -43,8 +43,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>filename</parameter> теперь допускает значение null.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/readline/functions/readline-write-history.xml
===================================================================
--- phpdoc/ru/trunk/reference/readline/functions/readline-write-history.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/readline/functions/readline-write-history.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351551 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.readline-write-history" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>readline_write_history</refname>
@@ -13,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>readline_write_history</methodname>
- <methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>filename</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Функция записывает историю команд в файл.
@@ -42,8 +41,29 @@
&return.success;
</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>filename</parameter> теперь допускает значение null.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/readline/functions/readline.xml
===================================================================
--- phpdoc/ru/trunk/reference/readline/functions/readline.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/readline/functions/readline.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349481 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351551 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="function.readline" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>readline</refname>
@@ -12,8 +11,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>readline</methodname>
- <methodparam choice="opt"><type>string</type><parameter>prompt</parameter><initializer>&null;</initializer></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>readline</methodname>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>prompt</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
Читает одну строку, введенную пользователем. Если вам нужно добавить эту строку
@@ -73,7 +72,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/strings/functions/stripos.xml
===================================================================
--- phpdoc/ru/trunk/reference/strings/functions/stripos.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/strings/functions/stripos.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350636 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351549 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.stripos">
@@ -145,6 +145,9 @@
<para>
<simplelist>
<member><function>mb_stripos</function></member>
+ <member><function>str_contains</function></member>
+ <member><function>str_ends_with</function></member>
+ <member><function>str_starts_with</function></member>
<member><function>strpos</function></member>
<member><function>strrpos</function></member>
<member><function>strripos</function></member>
Modified: phpdoc/ru/trunk/reference/strings/functions/strpos.xml
===================================================================
--- phpdoc/ru/trunk/reference/strings/functions/strpos.xml 2020-11-24 04:57:28 UTC (rev 351563)
+++ phpdoc/ru/trunk/reference/strings/functions/strpos.xml 2020-11-24 05:21:18 UTC (rev 351564)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 350636 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351549 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strpos">
@@ -168,6 +168,9 @@
<para>
<simplelist>
<member><function>stripos</function></member>
+ <member><function>str_contains</function></member>
+ <member><function>str_ends_with</function></member>
+ <member><function>str_starts_with</function></member>
<member><function>strrpos</function></member>
<member><function>strripos</function></member>
<member><function>strstr</function></member>