svn: /phpdoc/ru/trunk/ appendices/migration74/deprecated.xml reference/zip/ziparchive/setmtimeindex.xml
[email protected] (Sergey Panteleev) Fri, 18 Dec 2020 06:32:34 +0000
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Fri, 18 Dec 2020 06:32:34 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=352119
Log:
docs(ru): Updated to English revision
Changed paths:
U phpdoc/ru/trunk/appendices/migration74/deprecated.xml
U phpdoc/ru/trunk/reference/zip/ziparchive/setmtimeindex.xml
Modified: phpdoc/ru/trunk/appendices/migration74/deprecated.xml
===================================================================
--- phpdoc/ru/trunk/appendices/migration74/deprecated.xml 2020-12-17 18:00:58 UTC (rev 352118)
+++ phpdoc/ru/trunk/appendices/migration74/deprecated.xml 2020-12-18 06:32:34 UTC (rev 352119)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 348038 Maintainer: lex Status: ready -->
+<!-- EN-Revision: 352118 Maintainer: lex Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<sect1 xml:id="migration74.deprecated">
@@ -27,6 +27,17 @@
</programlisting>
</informalexample>
</para>
+ <para>
+ Скобки <emphasis>not</emphasis> требуются при вложении в средний операнд,
+ поскольку это всегда однозначно и не зависит от ассоциативности:
+ <informalexample>
+ <programlisting role="php">
+<![CDATA[
+1 ? 2 ? 3 : 4 : 5 // хорошо
+]]>
+ </programlisting>
+ </informalexample>
+ </para>
</sect3>
<sect3 xml:id="migration74.deprecated.core.array-string-access-curly-brace">
Modified: phpdoc/ru/trunk/reference/zip/ziparchive/setmtimeindex.xml
===================================================================
--- phpdoc/ru/trunk/reference/zip/ziparchive/setmtimeindex.xml 2020-12-17 18:00:58 UTC (rev 352118)
+++ phpdoc/ru/trunk/reference/zip/ziparchive/setmtimeindex.xml 2020-12-18 06:32:34 UTC (rev 352119)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350084 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 352117 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="ziparchive.setmtimeindex" xmlns="http://docbook.org/ns/docbook">
@@ -74,7 +74,7 @@
$zip = new ZipArchive();
if ($zip->open('test.zip', ZipArchive::CREATE) === TRUE) {
$zip->addFile('text.txt');
- $zip->setMtimIndex(0, mktime(0,0,0,12,25,2019));
+ $zip->setMtimeIndex(0, mktime(0,0,0,12,25,2019));
$zip->close();
echo "Ok\n";
} else {