com doc/ru: Обновлен ие до англи йской верси и: language/oop5/basic.xml reference/classobj/fu nctions/autoload.xml
reference/curl/functions/curl-setopt .xml reference/filesystem/functions/file-get-contents.xml

From: Date: Sun, 24 Jan 2021 19:41:17 +0000
Subject: com doc/ru: Обновлен ие до англи йской верси и: language/oop5/basic.xml reference/classobj/fu nctions/autoload.xml
reference/curl/functions/curl-setopt .xml reference/filesystem/functions/file-get-contents.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-8769@lists.php.net to get a copy of this message
Commit: dd68faae55d2c6c26ad68355e091b1702de37b7b Author: Sergey Panteleev <sergey@php.net> Sun, 24 Jan 2021 22:41:17 +0300 Parents: fa89367282c33d383c9176cb39482f1e39f4e918 Branches: master Link: http://git.php.net/?p=doc/ru.git;a=commitdiff;h=dd68faae55d2c6c26ad68355e091b1702de37b7b Log: Обновление до английской версии Changed paths: M language/oop5/basic.xml M reference/classobj/functions/autoload.xml M reference/curl/functions/curl-setopt.xml M reference/filesystem/functions/file-get-contents.xml Diff: diff --git a/language/oop5/basic.xml b/language/oop5/basic.xml index 3ab9f4ed6..d4b02477d 100644 --- a/language/oop5/basic.xml +++ b/language/oop5/basic..xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 4317fec7555dd42621f88162cc5068092e5c5cfb Maintainer: sergey Status: ready --> +<!-- EN-Revision: 02f3bf57175c48abff767ad2c0961c6cfe58a39e Maintainer: sergey Status: ready --> <!-- Reviewed: no --> <sect1 xml:id="language.oop5.basic" xmlns="http://docbook.org/ns/docbook"> <title>Основы</title> @@ -44,8 +44,8 @@ class SimpleClass </example> <para> Псевдопеременная <varname>$this</varname> доступна в том случае, - если метод был вызван в контексте объекта. <varname>$this</varname> - является ссылкой на вызываемый объект. + если метод был вызван в контексте объекта. + <varname>$this</varname> - значение вызывающего объекта. </para> <warning> <para> diff --git a/reference/classobj/functions/autoload.xml b/reference/classobj/functions/autoload.xml index 0e5fa2ab3..074b53079 100644 --- a/reference/classobj/functions/autoload.xml +++ b/reference/classobj/functions/autoload.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 028513e94be0922956387803e75b575973539254 Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: d88a13cd9ea3689e7e666173d6c19d1dc31673a4 Maintainer: rjhdby Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> <refentry xml:id="function.autoload" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -9,7 +9,7 @@ </refnamediv> <refsynopsisdiv> - &warn.deprecated.feature-7-2-0; + &warn.deprecated.function-7-2-0.removed-8-0-0; </refsynopsisdiv> <refsect1 role="description"> diff --git a/reference/curl/functions/curl-setopt.xml b/reference/curl/functions/curl-setopt.xml index 375e99bed..a854f442d 100644 --- a/reference/curl/functions/curl-setopt.xml +++ b/reference/curl/functions/curl-setopt.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: b7f8c11e56ff1c57a2993e2ed7e5c5ace18637fd Maintainer: rjhdby Status: ready --> +<!-- EN-Revision: 61f5c7a1f513709b01295cdef5444be4d6bf4ba6 Maintainer: rjhdby Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> <refentry xml:id="function.curl-setopt" xmlns="http://docbook.org/ns/docbook"> @@ -202,10 +202,8 @@ <entry valign="top"> &true; для следования любому заголовку <literal>"Location: "</literal>, отправленному сервером в своём - ответе (учтите, что это происходит рекурсивно, PHP будет следовать - за всеми посылаемыми заголовками <literal>"Location: "</literal>, - за исключением случая, когда установлена константа - <constant>CURLOPT_MAXREDIRS</constant>). + ответе. + Смотрите также <constant>CURLOPT_MAXREDIRS</constant>. </entry> <entry valign="top"> </entry> @@ -821,6 +819,9 @@ <entry valign="top"> Максимальное количество принимаемых редиректов. Используйте этот параметр вместе с параметром <constant>CURLOPT_FOLLOWLOCATION</constant>. + Значение по умолчанию <literal>20</literal> установлено для предотвращения бесконечных перенаправлений. + Значение <literal>-1</literal> разрешает бесконечные перенаправления, а <literal>0</literal> + отклоняет все перенаправления. </entry> <entry valign="top"> </entry> diff --git a/reference/filesystem/functions/file-get-contents.xml b/reference/filesystem/functions/file-get-contents.xml index 25c8b5163..eb8519c2a 100644 --- a/reference/filesystem/functions/file-get-contents.xml +++ b/reference/filesystem/functions/file-get-contents.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: a9a6224ca97531df0a4e4b9b16b59c3f2baf1b09 Maintainer: shein Status: ready --> +<!-- EN-Revision: ef88bff8ae0e1c35d577aaca6f812ca06b6f26d3 Maintainer: shein Status: ready --> <!-- Reviewed: yes --> <!-- $Revision$ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.file-get-contents" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -125,6 +125,11 @@ меньше нуля, или поиск по смещению <parameter>offset</parameter> в потоке завершится неудачно. </para> + <para> + Когда <function>file_get_contents</function> вызывается в каталоге, + в Windows ошибка генерируется <constant>E_WARNING</constant>, + а с PHP 7.4 также в других операционных системах. + </para> </refsect1> <refsect1 role="examples">

« previous php.doc.ru (#8769) next »