svn: /phpdoc/ru/trunk/ appendices/migration71/incompatible.xml reference/array/functions/array-shift.xml reference/array/functions/array-splice.xml
reference/filesystem/functions/glob.xml reference/mail/functions/mail.xml
| From: | Sergey Panteleev | Date: | Sun, 14 Jul 2019 10:21:34 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/ appendices/migration71/incompatible.xml reference/array/functions/array-shift.xml reference/array/functions/array-splice.xml reference/filesystem/functions/glob.xml reference/mail/functions/mail.xml |
||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-7914@lists.php.net to get a copy of this message | ||
sergey Sun, 14 Jul 2019 10:21:34 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=347747
Log:
upd: actual en-revision
Changed paths:
U phpdoc/ru/trunk/appendices/migration71/incompatible.xml
U phpdoc/ru/trunk/reference/array/functions/array-shift.xml
U phpdoc/ru/trunk/reference/array/functions/array-splice.xml
U phpdoc/ru/trunk/reference/filesystem/functions/glob.xml
U phpdoc/ru/trunk/reference/mail/functions/mail.xml
Modified: phpdoc/ru/trunk/appendices/migration71/incompatible.xml
===================================================================
--- phpdoc/ru/trunk/appendices/migration71/incompatible.xml 2019-07-14 10:17:27 UTC (rev 347746)
+++ phpdoc/ru/trunk/appendices/migration71/incompatible.xml 2019-07-14 10:21:34 UTC (rev 347747)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 346032 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 347736 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<sect1 xml:id="migration71.incompatible">
@@ -159,7 +159,7 @@
<para>
<function>rand</function> и <function>srand</function> теперь
являются просто синонимами
для <function>mt_rand</function> и <function>mt_srand</function>.
- Это означает, что вывод следующих функций изменится:
<function>rand</function>,
+ Это означает, что вывод следующих функций изменился:
<function>rand</function>,
<function>shuffle</function>, <function>str_shuffle</function> и
<function>array_rand</function>.
</para>
Modified: phpdoc/ru/trunk/reference/array/functions/array-shift.xml
===================================================================
--- phpdoc/ru/trunk/reference/array/functions/array-shift.xml 2019-07-14 10:17:27 UTC (rev 347746)
+++ phpdoc/ru/trunk/reference/array/functions/array-shift.xml 2019-07-14 10:21:34 UTC (rev 347747)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 297028 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 347736 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.array-shift" xmlns="http://docbook.org/ns/docbook">
Modified: phpdoc/ru/trunk/reference/array/functions/array-splice.xml
===================================================================
--- phpdoc/ru/trunk/reference/array/functions/array-splice.xml 2019-07-14 10:17:27 UTC (rev 347746)
+++ phpdoc/ru/trunk/reference/array/functions/array-splice.xml 2019-07-14 10:21:34 UTC (rev 347747)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 347119 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 347729 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.array-splice" xmlns="http://docbook.org/ns/docbook">
@@ -149,10 +149,6 @@
$input = array("red", "green", "blue", "yellow");
array_splice($input, -1, 1, array("black", "maroon"));
var_dump($input);
-
-$input = array("red", "green", "blue", "yellow");
-array_splice($input, 3, 0, "purple");
-var_dump($input);
?>
]]>
</programlisting>
@@ -160,47 +156,35 @@
<screen>
<![CDATA[
array(2) {
- [0]=>
- string(3) "red"
- [1]=>
- string(5) "green"
+ [0]=>
+ string(3) "red"
+ [1]=>
+ string(5) "green"
}
array(2) {
- [0]=>
- string(3) "red"
- [1]=>
- string(6) "yellow"
+ [0]=>
+ string(3) "red"
+ [1]=>
+ string(6) "yellow"
}
array(2) {
- [0]=>
- string(3) "red"
- [1]=>
- string(6) "orange"
+ [0]=>
+ string(3) "red"
+ [1]=>
+ string(6) "orange"
}
array(5) {
- [0]=>
- string(3) "red"
- [1]=>
- string(5) "green"
- [2]=>
- string(4) "blue"
- [3]=>
- string(5) "black"
- [4]=>
- string(6) "maroon"
+ [0]=>
+ string(3) "red"
+ [1]=>
+ string(5) "green"
+ [2]=>
+ string(4) "blue"
+ [3]=>
+ string(5) "black"
+ [4]=>
+ string(6) "maroon"
}
-array(5) {
- [0]=>
- string(3) "red"
- [1]=>
- string(5) "green"
- [2]=>
- string(4) "blue"
- [3]=>
- string(6) "purple"
- [4]=>
- string(6) "yellow"
-}
]]>
</screen>
</example>
Modified: phpdoc/ru/trunk/reference/filesystem/functions/glob.xml
===================================================================
--- phpdoc/ru/trunk/reference/filesystem/functions/glob.xml 2019-07-14 10:17:27 UTC (rev 347746)
+++ phpdoc/ru/trunk/reference/filesystem/functions/glob.xml 2019-07-14 10:21:34 UTC (rev 347747)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 334621 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 347740 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.glob">
@@ -33,6 +33,39 @@
<para>
Шаблон. Не происходит раскрытие тильды и
подстановка параметров.
</para>
+ <para>
+ Специальные символы:
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <literal>*</literal> - Соответствует нулю или
большему количеству символов.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>?</literal> - Соответствует ровно одному
символу (любому символу).
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>[...]</literal> - Соответствует одному
символу из группы. Если первый символ
<literal>!</literal>,
+ то соответствует любому символу, не входящему в
группу
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>...</literal> - Соответствует всем
подкаталогам, рекурсивно.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <literal>\</literal> - Экранирует следующий символ,
+ кроме случаев, когда
+ используется флаг <constant>GLOB_NOESCAPE</constant>.
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
</listitem>
</varlistentry>
<varlistentry>
Modified: phpdoc/ru/trunk/reference/mail/functions/mail.xml
===================================================================
--- phpdoc/ru/trunk/reference/mail/functions/mail.xml 2019-07-14 10:17:27 UTC (rev 347746)
+++ phpdoc/ru/trunk/reference/mail/functions/mail.xml 2019-07-14 10:21:34 UTC (rev 347747)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 347555 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 347736 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.mail" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">