svn: /phpdoc/ja/trunk/reference/strings/functions/ echo.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Sun, 14 Jun 2020 19:34:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=350034
Log:
Concatenation has the same precedence as addition
This integrates user note 125110.
Changed paths:
U phpdoc/ja/trunk/reference/strings/functions/echo.xml
Modified: phpdoc/ja/trunk/reference/strings/functions/echo.xml
===================================================================
--- phpdoc/ja/trunk/reference/strings/functions/echo.xml 2020-06-14 11:52:10 UTC (rev 350033)
+++ phpdoc/ja/trunk/reference/strings/functions/echo.xml 2020-06-14 19:34:55 UTC (rev 350034)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346811 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 350033 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: shimooka,mumumu -->
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.echo">
<refnamediv>
@@ -125,7 +125,8 @@
</programlisting>
<para>
- 連結を使う場合は、ピリオド演算子の優先順位が加算演算子や三項演算子よりも高いことに注意する必要があります。
+ 連結を使う場合は、ピリオド演算子の優先順位が加算演算子とは同じで、
+ 三項演算子よりも高いことに注意する必要があります。
そのため、以下のような場合に期待どおりの動きをさせるためには括弧が必要になります。
</para>
<programlisting role="php">