com doc/ru: Обновлен ие до англи йской верси и: faq/general.xml language-snippets.ent refer ence/filesystem/functions/file-exists.xml reference/filesys tem/functions/is-file.xml reference/stomp/stomp/error.xml reference/stomp/stompexception/getdetails.xml reference/ stomp/stompframe/construct.xml reference/stream/book.xml reference/stream/filters.xml reference/stream/functions/ stream-select.xml
[email protected] (Sergey Panteleev) Mon, 11 Jan 2021 07:08:49 +0000
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
Commit: 24e4952c3662d609d22cb6b5af7b36d09192f8a6 Author: Sergey Panteleev <[email protected]> Mon, 11 Jan 2021 10:08:49 +0300 Parents: 33099a8311f4937888c38c800ea93dde427797ca Branches: master Link: http://git.php.net/?p=doc/ru.git;a=commitdiff;h=24e4952c3662d609d22cb6b5af7b36d09192f8a6 Log: Обновление до английской версии Changed paths: M faq/general.xml M language-snippets.ent M reference/filesystem/functions/file-exists.xml M reference/filesystem/functions/is-file.xml M reference/stomp/stomp/error.xml M reference/stomp/stompexception/getdetails.xml M reference/stomp/stompframe/construct.xml M reference/stream/book.xml M reference/stream/filters.xml M reference/stream/functions/stream-select.xml
diff_24e4952c3662d609d22cb6b5af7b36d09192f8a6.txt
(text/plain, 11.1 KB)
diff --git a/faq/general.xml b/faq/general.xml
index 2e4a75a82..6fff2dd86 100644
--- a/faq/general.xml
+++ b/faq/general.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: ad08d7c566a7d802b4476bc97a22ad36264437a3 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 9a07a968506c613b3e9f6e508edaf0801061aa25 Maintainer: shein Status: ready -->
<!-- Reviewed: yes Maintainer: rjhdby -->
<!-- $Id -->
<chapter xml:id="faq.general" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -54,7 +54,7 @@
<para>
PHP/FI 2.0 - ранняя и более неподдерживаемая версия PHP. PHP 3 -
улучшенная замена PHP/FI 2.0. PHP 8 - текущая версия, которая
- использует Zend engine 3, которая, кроме прочего, предлагает множество дополнительных
+ использует Zend engine 4, которая, кроме прочего, предлагает множество дополнительных
возможностей для <link linkend="language.oop5">объектно-ориентированного
программирования</link>.
</para>
diff --git a/language-snippets.ent b/language-snippets.ent
index e96d7e933..69697c4c2 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: c47cd3156640f6fddbb20ed1c8b5c86a706f9b0e Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 14dc7c47365f2b71f6c907a5ba5bccf42534d5a9 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
@@ -874,6 +874,24 @@ linkend="memcached.expiration" xmlns="http://docbook.org/ns/docbook">Время
<!ENTITY password.parameter.password 'Пользовательский пароль.'>
+<!-- socket entities -->
+
+<!ENTITY sockets.changelog.socket-param '<row xmlns="http://docbook.org/ns/docbook">
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>socket</parameter> теперь экземпляр класса <classname>Socket</classname>;
+ ранее был ресурсом (<type>resource</type>).
+ </entry>
+ </row>'>
+
+<!ENTITY sockets.changelog.address-param '<row xmlns="http://docbook.org/ns/docbook">
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>address</parameter> теперь экземпляр класса <classname>AddressInfo</classname>;
+ ранее был ресурсом (<type>resource</type>).
+ </entry>
+</row>'>
+
<!-- gearman notes -->
<!ENTITY gearman.parameter.host 'Имя хоста сервера задач.'>
diff --git a/reference/filesystem/functions/file-exists.xml b/reference/filesystem/functions/file-exists.xml
index 4a096a9ef..5227df3b9 100644
--- a/reference/filesystem/functions/file-exists.xml
+++ b/reference/filesystem/functions/file-exists.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: dec1f8445ab2af7fbafef012fb7907ab2cd349b5 Maintainer: shein Status: ready -->
+<!-- EN-Revision: b4d9a0a908c543898609cf269df8d9c21b0d6b61 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file-exists">
@@ -103,6 +103,7 @@ if (file_exists($filename)) {
<member><function>is_writable</function></member>
<member><function>is_file</function></member>
<member><function>file</function></member>
+ <member><classname>SplFileInfo</classname></member>
</simplelist>
</para>
</refsect1>
diff --git a/reference/filesystem/functions/is-file.xml b/reference/filesystem/functions/is-file.xml
index 9a058a33e..a09779f9d 100644
--- a/reference/filesystem/functions/is-file.xml
+++ b/reference/filesystem/functions/is-file.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 71895e9afbfad9767d53f4f37b8573744aedaf96 Maintainer: shein Status: ready -->
+<!-- EN-Revision: b4d9a0a908c543898609cf269df8d9c21b0d6b61 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-file">
@@ -85,6 +85,7 @@ bool(false)
<simplelist>
<member><function>is_dir</function></member>
<member><function>is_link</function></member>
+ <member><classname>SplFileInfo</classname></member>
</simplelist>
</para>
</refsect1>
diff --git a/reference/stomp/stomp/error.xml b/reference/stomp/stomp/error.xml
index ea47ca2d7..6ff158be0 100644
--- a/reference/stomp/stomp/error.xml
+++ b/reference/stomp/stomp/error.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 6a6061bbd4b1c78af2b50aba8ddd8fd5e4590b05 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: aur Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<!-- $Revision$ -->
-
<refentry xml:id="stomp.error" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Stomp::error</refname>
diff --git a/reference/stomp/stompexception/getdetails.xml b/reference/stomp/stompexception/getdetails.xml
index 6b11f7c30..db46f26d4 100644
--- a/reference/stomp/stompexception/getdetails.xml
+++ b/reference/stomp/stompexception/getdetails.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 8b6d169424ff189bb563ef4c3f35f8adff3f42c5 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 805f313df2c88f475ef15dee99e4bf50183fbfed Maintainer: aur Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<!-- $Revision$ -->
-
<refentry xml:id="stomp.getdetails" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>StompException::getDetails</refname>
diff --git a/reference/stomp/stompframe/construct.xml b/reference/stomp/stompframe/construct.xml
index a0f2a4120..c4529a0e1 100644
--- a/reference/stomp/stompframe/construct.xml
+++ b/reference/stomp/stompframe/construct.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 8b6d169424ff189bb563ef4c3f35f8adff3f42c5 Maintainer: aur Status: ready -->
+<!-- EN-Revision: 5766bbf8cd89cda01c5ca1e1cc7cf0ebc94b542c Maintainer: aur Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
-
<refentry xml:id="stompframe.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>StompFrame::__construct</refname>
diff --git a/reference/stream/book.xml b/reference/stream/book.xml
index b7dc9edd3..534da3cc7 100644
--- a/reference/stream/book.xml
+++ b/reference/stream/book.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: dfee957f669113ed61b2f3618f53e79acbebe0f0 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: a3bb15df3f8dd9657471db4d4f1ecd67a7c552e9 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
-
<book xml:id="book.stream" xmlns="http://docbook.org/ns/docbook">
<?phpdoc extension-membership="core" ?>
<title>Потоки</title>
@@ -26,10 +25,9 @@
или кодировками. Например, обёртка <literal>http</literal> знает, как
преобразовать URL в <literal>HTTP/1.0</literal>-запрос для файла на
удалённом сервере. Существует множество обёрток, как встроенных в PHP
- изначально (см. <xref linkend="wrappers"/>), так и дополнительных.
- Дополнительные обёртки можно добавлять либо отдельным скриптом с помощью функции
- <function>stream_wrapper_register</function>, либо напрямую из расширения,
- используя API <xref linkend="internals2.streams"/>. Добавлять можно
+ изначально (смотрите <xref linkend="wrappers"/>), так и дополнительных.
+ Дополнительные обёртки можно добавлять отдельным скриптом с помощью функции
+ <function>stream_wrapper_register</function>. Добавлять можно
произвольное количество обёрток, что делает возможности работы с потоками
практически безграничными. Посмотреть список зарегистрированных на данный
момент обёрток можно с помощью функции
@@ -59,14 +57,6 @@
</listitem>
</itemizedlist>
</para>
- <para>
- <note>
- <para>
- Информация об использовании потоков внутри исходного кода PHP приведена в
- <link linkend="internals2.ze1.streams">Streams API for PHP Extension Authors reference</link>.
- </para>
- </note>
- </para>
</preface>
&reference.stream.setup;
diff --git a/reference/stream/filters.xml b/reference/stream/filters.xml
index e388f1803..02d1e444b 100644
--- a/reference/stream/filters.xml
+++ b/reference/stream/filters.xml
@@ -1,17 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 96c9d88bad9a7d7d44bfb7f26c226df7ee9ddf26 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: a3bb15df3f8dd9657471db4d4f1ecd67a7c552e9 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
-
<chapter xml:id="stream.filters">
<title>Потоковые фильтры</title>
<simpara>
Фильтр (<literal>filter</literal>) - рабочий код, который может осуществлять
операции с данными, читаемыми из потока или записываемыми в него.
На каждый поток можно надстроить несколько фильтров. Пользовательские
- фильтры можно регистрировать либо в PHP скрипте функцией
- <function>stream_filter_register</function>, либо в расширении, используя
- справку по API в <xref linkend="internals2.streams"/>. Чтобы посмотреть
+ фильтры можно регистрировать в PHP скрипте функцией
+ <function>stream_filter_register</function>. Чтобы посмотреть
список зарегистрированных на данный момент фильтров, воспользуйтесь
функцией <function>stream_get_filters</function>.
</simpara>
diff --git a/reference/stream/functions/stream-select.xml b/reference/stream/functions/stream-select.xml
index da0360f82..7a797b918 100644
--- a/reference/stream/functions/stream-select.xml
+++ b/reference/stream/functions/stream-select.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: c2fea13ec01631394e1f5cc20aefe2fce1e299fe Maintainer: mch Status: ready -->
+<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: mch Status: ready -->
<!-- $Revision$ -->
<!-- Reviewed: yes -->
<refentry xml:id="function.stream-select" xmlns="http://docbook.org/ns/docbook">