com doc/ru: Обновлен ие до англи йской верси и: language-snippets.ent reference/com/compersisth elper/construct.xml
reference/datetime/datetimeinterface/di ff.xml reference/datetime/functions/date-sunrise.xml re ference/datetime/functions/date-sunset.xml
reference/ffi/ff i/arraytype.xml reference/info/functions/get-magic-quotes-g pc.xml reference/info/functions/get-magic-quotes-runtime. xml
reference/info/functions/restore-include-path.xml ref erence/ldap/
| From: | Sergey Panteleev | Date: | Tue, 19 Jan 2021 06:33:33 +0000 |
| Subject: | com doc/ru: Обновлен ие до англи йской верси и: language-snippets.ent reference/com/compersisth elper/construct.xml reference/datetime/datetimeinterface/di ff.xml reference/datetime/functions/date-sunrise.xml re ference/datetime/functions/date-sunset.xml reference/ffi/ff i/arraytype.xml reference/info/functions/get-magic-quotes-g pc.xml reference/info/functions/get-magic-quotes-runtime. xml reference/info/functions/restore-include-path.xml ref erence/ldap/ |
||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-8760@lists.php.net to get a copy of this message | ||
Commit: 2a77fad9f2ed86abfdfc8a2a115add3ad3bd1db9
Author: Sergey Panteleev <sergey@php.net> Tue, 19 Jan 2021 09:33:33 +0300
Parents: 2b74e869ddd3f45f19886e3b92ffad20e04d9695
Branches: master
Link: http://git.php.net/?p=doc/ru.git;a=commitdiff;h=2a77fad9f2ed86abfdfc8a2a115add3ad3bd1db9
Log:
Обновление до английской версии
Changed paths:
M language-snippets.ent
M reference/com/compersisthelper/construct.xml
M reference/datetime/datetimeinterface/diff.xml
M reference/datetime/functions/date-sunrise.xml
M reference/datetime/functions/date-sunset.xml
M reference/ffi/ffi/arraytype.xml
M reference/info/functions/get-magic-quotes-gpc.xml
M reference/info/functions/get-magic-quotes-runtime.xml
M reference/info/functions/restore-include-path.xml
M reference/ldap/functions/ldap-exop-whoami.xml
M reference/pcre/functions/preg-match-all.xml
M reference/zlib/functions/gzgets.xml
diff --git a/language-snippets.ent b/language-snippets.ent index 0516a89e4..91d60665f 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 4317fec7555dd42621f88162cc5068092e5c5cfb Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: 5e6356373cdbfcefcbecddf3cfd7e61a2159153e Maintainer: rjhdby Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> @@ -164,7 +164,12 @@ xmlns="http://docbook.org/ns/docbook"><simpara>Данная функционал <!ENTITY warn.deprecated.function-7-4-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>Эта функция объявлена -<emphasis>УСТАРЕВШИМ</emphasis>, начиная с PHP 7.4.0 и её использование крайне не рекомендовано.</simpara></warning>'> +<emphasis>УСТАРЕВШЕЙ</emphasis>, начиная с PHP 7.4.0 и её использование крайне не рекомендовано.</simpara></warning>'> + +<!ENTITY warn.deprecated.function-7-4-0.removed-8-0-0 '<warning +xmlns="http://docbook.org/ns/docbook"><simpara>Эта функция +<emphasis>УСТАРЕЛА</emphasis>, начиная с PHP 7.4.0 и была <emphasis>УДАЛЕНА</emphasis>, начиная с PHP 8.0.0. Использовать эту +функцию крайне не рекомендуется.</simpara></warning>'> <!ENTITY warn.deprecated.function-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>Эта функция была diff --git a/reference/com/compersisthelper/construct.xml b/reference/com/compersisthelper/construct.xml index 1c336ea58..59a3ce4e4 100644 --- a/reference/com/compersisthelper/construct.xml +++ b/reference/com/compersisthelper/construct.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 20216b916ed583938672cd09c2c2f430351430d1 Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: rjhdby Status: ready --> <!-- Reviewed: no --> <refentry xml:id="compersisthelper.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -12,7 +12,7 @@ &reftitle.description; <constructorsynopsis> <modifier>public</modifier> <methodname>COMPersistHelper::__construct</methodname> - <methodparam choice="opt"><type class="union"><type>variant</type><type>null</type></type><parameter>variant</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>variant</type><type>null</type></type><parameter>variant</parameter><initializer>&null;</initializer></methodparam> </constructorsynopsis> <para> Создаёт объект класса COMPersistHelper, обычно связанный с diff --git a/reference/datetime/datetimeinterface/diff.xml b/reference/datetime/datetimeinterface/diff.xml index a0a404338..87a3ebbc2 100644 --- a/reference/datetime/datetimeinterface/diff.xml +++ b/reference/datetime/datetimeinterface/diff.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 34188f8256bdc6f0e6e1965c2be94247997165b6 Maintainer: tmn Status: ready --> +<!-- EN-Revision: c2120bd346716d6b7fc7cf777a2b0717f7b45f5f Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="datetime.diff" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -15,17 +15,17 @@ &reftitle.description; <para>&style.oop;</para> <methodsynopsis role="oop"> - <modifier>public</modifier> <type class="union"><type>DateInterval</type><type>false</type></type><methodname>DateTime::diff</methodname> + <modifier>public</modifier> <type>DateInterval</type><methodname>DateTime::diff</methodname> <methodparam><type>DateTimeInterface</type><parameter>targetObject</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>absolute</parameter><initializer>&false;</initializer></methodparam> </methodsynopsis> <methodsynopsis role="DateTimeImmutable"> - <modifier>public</modifier> <type class="union"><type>DateInterval</type><type>false</type></type><methodname>DateTimeImmutable::diff</methodname> + <modifier>public</modifier> <type>DateInterval</type><methodname>DateTimeImmutable::diff</methodname> <methodparam><type>DateTimeInterface</type><parameter>targetObject</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>absolute</parameter><initializer>&false;</initializer></methodparam> </methodsynopsis> <methodsynopsis role="DateTimeInterface"> - <modifier>public</modifier> <type class="union"><type>DateInterval</type><type>false</type></type><methodname>DateTimeInterface::diff</methodname> + <modifier>public</modifier> <type>DateInterval</type><methodname>DateTimeInterface::diff</methodname> <methodparam><type>DateTimeInterface</type><parameter>targetObject</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>absolute</parameter><initializer>&false;</initializer></methodparam> </methodsynopsis> diff --git a/reference/datetime/functions/date-sunrise.xml b/reference/datetime/functions/date-sunrise.xml index acd9d216d..d8c4eaa11 100644 --- a/reference/datetime/functions/date-sunrise.xml +++ b/reference/datetime/functions/date-sunrise.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 34188f8256bdc6f0e6e1965c2be94247997165b6 Maintainer: tmn Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="function.date-sunrise" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -19,7 +19,7 @@ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>latitude</parameter><initializer>&null;</initializer></methodparam> <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>longitude</parameter><initializer>&null;</initializer></methodparam> <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>zenith</parameter><initializer>&null;</initializer></methodparam> - <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>0</initializer></methodparam> + <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> <function>date_sunrise</function> возвращает время рассвета для @@ -189,7 +189,7 @@ <entry>8.0.0</entry> <entry> <parameter>latitude</parameter>, <parameter>longitude</parameter>, - <parameter>zenith</parameter> и <parameter>latitude</parameter> теперь допускают значение null. + <parameter>zenith</parameter> и <parameter>utcOffset</parameter> теперь допускают значение null. </entry> </row> </tbody> diff --git a/reference/datetime/functions/date-sunset.xml b/reference/datetime/functions/date-sunset.xml index c7d6686b8..3ad1610a7 100644 --- a/reference/datetime/functions/date-sunset.xml +++ b/reference/datetime/functions/date-sunset.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 34188f8256bdc6f0e6e1965c2be94247997165b6 Maintainer: tmn Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="function.date-sunset" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -19,7 +19,7 @@ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>latitude</parameter><initializer>&null;</initializer></methodparam> <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>longitude</parameter><initializer>&null;</initializer></methodparam> <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>zenith</parameter><initializer>&null;</initializer></methodparam> - <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>0</initializer></methodparam> + <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> <function>date_sunset</function> возвращает время захода солнца для @@ -188,7 +188,7 @@ <entry>8.0.0</entry> <entry> <parameter>latitude</parameter>, <parameter>longitude</parameter>, - <parameter>zenith</parameter> и <parameter>latitude</parameter> теперь допускают значение null. + <parameter>zenith</parameter> и <parameter>utcOffset</parameter> теперь допускают значение null. </entry> </row> </tbody> diff --git a/reference/ffi/ffi/arraytype.xml b/reference/ffi/ffi/arraytype.xml index 4a26383ce..02cd22f34 100644 --- a/reference/ffi/ffi/arraytype.xml +++ b/reference/ffi/ffi/arraytype.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 57c47965ffe21a7b7943d1de491ec31733833c64 Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: rjhdby Status: ready --> <!-- Reviewed: yes Maintainer: sergey --> - <refentry xml:id="ffi.arraytype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>FFI::arrayType</refname> @@ -14,7 +13,7 @@ <methodsynopsis> <modifier>public</modifier> <modifier>static</modifier> <type>FFI\CType</type><methodname>FFI::arrayType</methodname> <methodparam><type>FFI\CType</type><parameter>type</parameter></methodparam> - <methodparam><type>array </type><parameter>dimensions</parameter></methodparam> + <methodparam><type>array</type><parameter>dimensions</parameter></methodparam> </methodsynopsis> <para> Динамически конструирует новый тип С массива с элементами типа @@ -67,7 +66,6 @@ $t2 = FFI::arrayType(FFI::type("int"), [2, 3]); </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/info/functions/get-magic-quotes-gpc.xml b/reference/info/functions/get-magic-quotes-gpc.xml index a31fb9324..de503d12a 100644 --- a/reference/info/functions/get-magic-quotes-gpc.xml +++ b/reference/info/functions/get-magic-quotes-gpc.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: f029b664b8728bd5cbb697cb9a4409aea07cb36c Maintainer: tmn Status: ready --> +<!-- EN-Revision: 5e6356373cdbfcefcbecddf3cfd7e61a2159153e Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="function.get-magic-quotes-gpc" xmlns="http://docbook.org/ns/docbook"> @@ -11,7 +11,7 @@ </refnamediv> <refsynopsisdiv> - &warn.deprecated.function-7-4-0; + &warn.deprecated.function-7-4-0.removed-8-0-0; </refsynopsisdiv> <refsect1 role="description"> diff --git a/reference/info/functions/get-magic-quotes-runtime.xml b/reference/info/functions/get-magic-quotes-runtime.xml index b01cd65be..c1510f6e8 100644 --- a/reference/info/functions/get-magic-quotes-runtime.xml +++ b/reference/info/functions/get-magic-quotes-runtime.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 3e15d2894fb35432d2a111db36fe8ba8ebc62024 Maintainer: tmn Status: ready --> +<!-- EN-Revision: 5e6356373cdbfcefcbecddf3cfd7e61a2159153e Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="function.get-magic-quotes-runtime" xmlns="http://docbook.org/ns/docbook"> @@ -11,7 +11,7 @@ </refnamediv> <refsynopsisdiv> - &warn.deprecated.function-7-4-0; + &warn.deprecated.function-7-4-0.removed-8-0-0; </refsynopsisdiv> <refsect1 role="description"> diff --git a/reference/info/functions/restore-include-path.xml b/reference/info/functions/restore-include-path.xml index d6e87ce5d..e1fadfacb 100644 --- a/reference/info/functions/restore-include-path.xml +++ b/reference/info/functions/restore-include-path.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 11a2f7bf4894af314c0984ac48365ff4bee38cc6 Maintainer: tmn Status: ready --> +<!-- EN-Revision: 5e6356373cdbfcefcbecddf3cfd7e61a2159153e Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="function.restore-include-path" xmlns="http://docbook.org/ns/docbook"> @@ -11,7 +11,7 @@ </refnamediv> <refsynopsisdiv> - &warn.deprecated.function-7-4-0; + &warn.deprecated.function-7-4-0.removed-8-0-0; </refsynopsisdiv> <refsect1 role="description"> diff --git a/reference/ldap/functions/ldap-exop-whoami.xml b/reference/ldap/functions/ldap-exop-whoami.xml index 45d7c781d..23419b9fc 100644 --- a/reference/ldap/functions/ldap-exop-whoami.xml +++ b/reference/ldap/functions/ldap-exop-whoami.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 76f8c0151d9a99d2f96e154da050e64305862b21 Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: rjhdby Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <refentry xml:id="function.ldap-exop-whoami" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -11,7 +11,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type class="union"><type>string</type><type>bool</type></type><methodname>ldap_exop_whoami</methodname> + <type class="union"><type>string</type><type>false</type></type><methodname>ldap_exop_whoami</methodname> <methodparam><type>resource</type><parameter>ldap</parameter></methodparam> </methodsynopsis> <para> diff --git a/reference/pcre/functions/preg-match-all.xml b/reference/pcre/functions/preg-match-all.xml index 305a3d22b..53d956fc3 100644 --- a/reference/pcre/functions/preg-match-all.xml +++ b/reference/pcre/functions/preg-match-all.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: shein Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: shein Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> <refentry xml:id="function.preg-match-all" xmlns="http://docbook.org/ns/docbook"> @@ -15,7 +15,7 @@ <methodparam><type>string</type><parameter>pattern</parameter></methodparam> <methodparam><type>string</type><parameter>subject</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter role="reference">matches</parameter><initializer>&null;</initializer></methodparam> - <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>PREG_PATTERN_ORDER</constant></initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam> <methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam> </methodsynopsis> <para> diff --git a/reference/zlib/functions/gzgets.xml b/reference/zlib/functions/gzgets.xml index 8a6f2502a..b9dc8fe1f 100644 --- a/reference/zlib/functions/gzgets.xml +++ b/reference/zlib/functions/gzgets.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready --> +<!-- EN-Revision: c2120bd346716d6b7fc7cf777a2b0717f7b45f5f Maintainer: mch Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> <refentry xml:id="function.gzgets" xmlns="http://docbook.org/ns/docbook"> @@ -12,7 +12,7 @@ <methodsynopsis> <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> + <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Получает строку (несжатую) из gz-файла, её длина ограничивается @@ -51,6 +51,30 @@ Распакованная строка или &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; + ранее значение по умолчанию было <literal>1024</literal>. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para>
diff --git a/language-snippets.ent b/language-snippets.ent index 0516a89e4..91d60665f 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 4317fec7555dd42621f88162cc5068092e5c5cfb Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: 5e6356373cdbfcefcbecddf3cfd7e61a2159153e Maintainer: rjhdby Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> @@ -164,7 +164,12 @@ xmlns="http://docbook.org/ns/docbook"><simpara>Данная функционал <!ENTITY warn.deprecated.function-7-4-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>Эта функция объявлена -<emphasis>УСТАРЕВШИМ</emphasis>, начиная с PHP 7.4.0 и её использование крайне не рекомендовано.</simpara></warning>'> +<emphasis>УСТАРЕВШЕЙ</emphasis>, начиная с PHP 7.4.0 и её использование крайне не рекомендовано.</simpara></warning>'> + +<!ENTITY warn.deprecated.function-7-4-0.removed-8-0-0 '<warning +xmlns="http://docbook.org/ns/docbook"><simpara>Эта функция +<emphasis>УСТАРЕЛА</emphasis>, начиная с PHP 7.4.0 и была <emphasis>УДАЛЕНА</emphasis>, начиная с PHP 8.0.0. Использовать эту +функцию крайне не рекомендуется.</simpara></warning>'> <!ENTITY warn.deprecated.function-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>Эта функция была diff --git a/reference/com/compersisthelper/construct.xml b/reference/com/compersisthelper/construct.xml index 1c336ea58..59a3ce4e4 100644 --- a/reference/com/compersisthelper/construct.xml +++ b/reference/com/compersisthelper/construct.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 20216b916ed583938672cd09c2c2f430351430d1 Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: rjhdby Status: ready --> <!-- Reviewed: no --> <refentry xml:id="compersisthelper.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -12,7 +12,7 @@ &reftitle.description; <constructorsynopsis> <modifier>public</modifier> <methodname>COMPersistHelper::__construct</methodname> - <methodparam choice="opt"><type class="union"><type>variant</type><type>null</type></type><parameter>variant</parameter></methodparam> + <methodparam choice="opt"><type class="union"><type>variant</type><type>null</type></type><parameter>variant</parameter><initializer>&null;</initializer></methodparam> </constructorsynopsis> <para> Создаёт объект класса COMPersistHelper, обычно связанный с diff --git a/reference/datetime/datetimeinterface/diff.xml b/reference/datetime/datetimeinterface/diff.xml index a0a404338..87a3ebbc2 100644 --- a/reference/datetime/datetimeinterface/diff.xml +++ b/reference/datetime/datetimeinterface/diff.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 34188f8256bdc6f0e6e1965c2be94247997165b6 Maintainer: tmn Status: ready --> +<!-- EN-Revision: c2120bd346716d6b7fc7cf777a2b0717f7b45f5f Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="datetime.diff" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -15,17 +15,17 @@ &reftitle.description; <para>&style.oop;</para> <methodsynopsis role="oop"> - <modifier>public</modifier> <type class="union"><type>DateInterval</type><type>false</type></type><methodname>DateTime::diff</methodname> + <modifier>public</modifier> <type>DateInterval</type><methodname>DateTime::diff</methodname> <methodparam><type>DateTimeInterface</type><parameter>targetObject</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>absolute</parameter><initializer>&false;</initializer></methodparam> </methodsynopsis> <methodsynopsis role="DateTimeImmutable"> - <modifier>public</modifier> <type class="union"><type>DateInterval</type><type>false</type></type><methodname>DateTimeImmutable::diff</methodname> + <modifier>public</modifier> <type>DateInterval</type><methodname>DateTimeImmutable::diff</methodname> <methodparam><type>DateTimeInterface</type><parameter>targetObject</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>absolute</parameter><initializer>&false;</initializer></methodparam> </methodsynopsis> <methodsynopsis role="DateTimeInterface"> - <modifier>public</modifier> <type class="union"><type>DateInterval</type><type>false</type></type><methodname>DateTimeInterface::diff</methodname> + <modifier>public</modifier> <type>DateInterval</type><methodname>DateTimeInterface::diff</methodname> <methodparam><type>DateTimeInterface</type><parameter>targetObject</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>absolute</parameter><initializer>&false;</initializer></methodparam> </methodsynopsis> diff --git a/reference/datetime/functions/date-sunrise.xml b/reference/datetime/functions/date-sunrise.xml index acd9d216d..d8c4eaa11 100644 --- a/reference/datetime/functions/date-sunrise.xml +++ b/reference/datetime/functions/date-sunrise.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 34188f8256bdc6f0e6e1965c2be94247997165b6 Maintainer: tmn Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="function.date-sunrise" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -19,7 +19,7 @@ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>latitude</parameter><initializer>&null;</initializer></methodparam> <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>longitude</parameter><initializer>&null;</initializer></methodparam> <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>zenith</parameter><initializer>&null;</initializer></methodparam> - <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>0</initializer></methodparam> + <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> <function>date_sunrise</function> возвращает время рассвета для @@ -189,7 +189,7 @@ <entry>8.0.0</entry> <entry> <parameter>latitude</parameter>, <parameter>longitude</parameter>, - <parameter>zenith</parameter> и <parameter>latitude</parameter> теперь допускают значение null. + <parameter>zenith</parameter> и <parameter>utcOffset</parameter> теперь допускают значение null. </entry> </row> </tbody> diff --git a/reference/datetime/functions/date-sunset.xml b/reference/datetime/functions/date-sunset.xml index c7d6686b8..3ad1610a7 100644 --- a/reference/datetime/functions/date-sunset.xml +++ b/reference/datetime/functions/date-sunset.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 34188f8256bdc6f0e6e1965c2be94247997165b6 Maintainer: tmn Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="function.date-sunset" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -19,7 +19,7 @@ <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>latitude</parameter><initializer>&null;</initializer></methodparam> <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>longitude</parameter><initializer>&null;</initializer></methodparam> <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>zenith</parameter><initializer>&null;</initializer></methodparam> - <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>0</initializer></methodparam> + <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> <function>date_sunset</function> возвращает время захода солнца для @@ -188,7 +188,7 @@ <entry>8.0.0</entry> <entry> <parameter>latitude</parameter>, <parameter>longitude</parameter>, - <parameter>zenith</parameter> и <parameter>latitude</parameter> теперь допускают значение null. + <parameter>zenith</parameter> и <parameter>utcOffset</parameter> теперь допускают значение null. </entry> </row> </tbody> diff --git a/reference/ffi/ffi/arraytype.xml b/reference/ffi/ffi/arraytype.xml index 4a26383ce..02cd22f34 100644 --- a/reference/ffi/ffi/arraytype.xml +++ b/reference/ffi/ffi/arraytype.xml @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 57c47965ffe21a7b7943d1de491ec31733833c64 Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: rjhdby Status: ready --> <!-- Reviewed: yes Maintainer: sergey --> - <refentry xml:id="ffi.arraytype" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>FFI::arrayType</refname> @@ -14,7 +13,7 @@ <methodsynopsis> <modifier>public</modifier> <modifier>static</modifier> <type>FFI\CType</type><methodname>FFI::arrayType</methodname> <methodparam><type>FFI\CType</type><parameter>type</parameter></methodparam> - <methodparam><type>array </type><parameter>dimensions</parameter></methodparam> + <methodparam><type>array</type><parameter>dimensions</parameter></methodparam> </methodsynopsis> <para> Динамически конструирует новый тип С массива с элементами типа @@ -67,7 +66,6 @@ $t2 = FFI::arrayType(FFI::type("int"), [2, 3]); </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/info/functions/get-magic-quotes-gpc.xml b/reference/info/functions/get-magic-quotes-gpc.xml index a31fb9324..de503d12a 100644 --- a/reference/info/functions/get-magic-quotes-gpc.xml +++ b/reference/info/functions/get-magic-quotes-gpc.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: f029b664b8728bd5cbb697cb9a4409aea07cb36c Maintainer: tmn Status: ready --> +<!-- EN-Revision: 5e6356373cdbfcefcbecddf3cfd7e61a2159153e Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="function.get-magic-quotes-gpc" xmlns="http://docbook.org/ns/docbook"> @@ -11,7 +11,7 @@ </refnamediv> <refsynopsisdiv> - &warn.deprecated.function-7-4-0; + &warn.deprecated.function-7-4-0.removed-8-0-0; </refsynopsisdiv> <refsect1 role="description"> diff --git a/reference/info/functions/get-magic-quotes-runtime.xml b/reference/info/functions/get-magic-quotes-runtime.xml index b01cd65be..c1510f6e8 100644 --- a/reference/info/functions/get-magic-quotes-runtime.xml +++ b/reference/info/functions/get-magic-quotes-runtime.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 3e15d2894fb35432d2a111db36fe8ba8ebc62024 Maintainer: tmn Status: ready --> +<!-- EN-Revision: 5e6356373cdbfcefcbecddf3cfd7e61a2159153e Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="function.get-magic-quotes-runtime" xmlns="http://docbook.org/ns/docbook"> @@ -11,7 +11,7 @@ </refnamediv> <refsynopsisdiv> - &warn.deprecated.function-7-4-0; + &warn.deprecated.function-7-4-0.removed-8-0-0; </refsynopsisdiv> <refsect1 role="description"> diff --git a/reference/info/functions/restore-include-path.xml b/reference/info/functions/restore-include-path.xml index d6e87ce5d..e1fadfacb 100644 --- a/reference/info/functions/restore-include-path.xml +++ b/reference/info/functions/restore-include-path.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 11a2f7bf4894af314c0984ac48365ff4bee38cc6 Maintainer: tmn Status: ready --> +<!-- EN-Revision: 5e6356373cdbfcefcbecddf3cfd7e61a2159153e Maintainer: tmn Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <!-- $Revision$ --> <refentry xml:id="function.restore-include-path" xmlns="http://docbook.org/ns/docbook"> @@ -11,7 +11,7 @@ </refnamediv> <refsynopsisdiv> - &warn.deprecated.function-7-4-0; + &warn.deprecated.function-7-4-0.removed-8-0-0; </refsynopsisdiv> <refsect1 role="description"> diff --git a/reference/ldap/functions/ldap-exop-whoami.xml b/reference/ldap/functions/ldap-exop-whoami.xml index 45d7c781d..23419b9fc 100644 --- a/reference/ldap/functions/ldap-exop-whoami.xml +++ b/reference/ldap/functions/ldap-exop-whoami.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 76f8c0151d9a99d2f96e154da050e64305862b21 Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: rjhdby Status: ready --> <!-- Reviewed: yes Maintainer: lex --> <refentry xml:id="function.ldap-exop-whoami" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -11,7 +11,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type class="union"><type>string</type><type>bool</type></type><methodname>ldap_exop_whoami</methodname> + <type class="union"><type>string</type><type>false</type></type><methodname>ldap_exop_whoami</methodname> <methodparam><type>resource</type><parameter>ldap</parameter></methodparam> </methodsynopsis> <para> diff --git a/reference/pcre/functions/preg-match-all.xml b/reference/pcre/functions/preg-match-all.xml index 305a3d22b..53d956fc3 100644 --- a/reference/pcre/functions/preg-match-all.xml +++ b/reference/pcre/functions/preg-match-all.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: shein Status: ready --> +<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: shein Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> <refentry xml:id="function.preg-match-all" xmlns="http://docbook.org/ns/docbook"> @@ -15,7 +15,7 @@ <methodparam><type>string</type><parameter>pattern</parameter></methodparam> <methodparam><type>string</type><parameter>subject</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter role="reference">matches</parameter><initializer>&null;</initializer></methodparam> - <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>PREG_PATTERN_ORDER</constant></initializer></methodparam> + <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam> <methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam> </methodsynopsis> <para> diff --git a/reference/zlib/functions/gzgets.xml b/reference/zlib/functions/gzgets.xml index 8a6f2502a..b9dc8fe1f 100644 --- a/reference/zlib/functions/gzgets.xml +++ b/reference/zlib/functions/gzgets.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 02ba67b51f2bde571b6ce07026e935f4e81019af Maintainer: mch Status: ready --> +<!-- EN-Revision: c2120bd346716d6b7fc7cf777a2b0717f7b45f5f Maintainer: mch Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> <refentry xml:id="function.gzgets" xmlns="http://docbook.org/ns/docbook"> @@ -12,7 +12,7 @@ <methodsynopsis> <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> + <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam> </methodsynopsis> <para> Получает строку (несжатую) из gz-файла, её длина ограничивается @@ -51,6 +51,30 @@ Распакованная строка или &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; + ранее значение по умолчанию было <literal>1024</literal>. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para>