svn: /phpdoc/ru/trunk/reference/spl/arrayiterator/ offsetunset.xml

[email protected] (Sergey Panteleev)
Newsgroups php.doc.ru
Message-ID <[email protected]>
sergey                                   Mon, 06 Jul 2020 08:50:20 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=350103

Log:
docs(ru): Updated to English revision

Changed paths:
    U   phpdoc/ru/trunk/reference/spl/arrayiterator/offsetunset.xml

Modified: phpdoc/ru/trunk/reference/spl/arrayiterator/offsetunset.xml
===================================================================
--- phpdoc/ru/trunk/reference/spl/arrayiterator/offsetunset.xml	2020-07-05 18:08:31 UTC (rev 350102)
+++ phpdoc/ru/trunk/reference/spl/arrayiterator/offsetunset.xml	2020-07-06 08:50:20 UTC (rev 350103)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 345631 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 350025 Maintainer: mch Status: ready -->
 <!-- Reviewed: yes Maintainer: sergey -->
 <!-- $Revision$ -->
 <refentry xml:id="arrayiterator.offsetunset" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -17,9 +17,15 @@
   <para>
    Сбрасывает значение по смещению.
   </para>
+  <para>
+   Если итерация выполняется и <methodname>ArrayIterator::offsetUnset</methodname> используется для
+   сброса текущего индекса итерации, позиция итерации будет смещена к следующему индексу.
+   Поскольку позиция итерации также смещается в конце &foreach; в теле цикла,
+   использование <methodname>ArrayIterator::offsetUnset</methodname> внутри цикла
+   <link linkend="control-structures.foreach"><literal>foreach</literal></link> может
+   привести к пропуску индексов.
+  </para>

-  &warn.undocumented.func;
-
  </refsect1>

  <refsect1 role="parameters">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.