Doc #79508 [Opn->Ver]: minor doc typo error
| From: | mumumu@php.net | Date: | Wed, 22 Apr 2020 19:03:22 +0000 |
| Subject: | Doc #79508 [Opn->Ver]: minor doc typo error | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17509@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79508&edit=1
ID: 79508
Updated by: mumumu@php.net
Reported by: peshigome at gmail dot com
Summary: minor doc typo error
-Status: Open
+Status: Verified
Type: Documentation Problem
-Package: Documentation problem
+Package: Translation problem
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: mumumu
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2020-04-22 18:53:27] peshigome at gmail dot com
Description:
------------
---
From manual page: https://php.net/language.expressions
---
In the japanese version/translation
On the following paragraph, two "*/" are missing :
$f = double($d++); /* $f ã«ã¯ã$d
ãå ç®ãããåã®å¤ã2åããå¤ã
ã¤ã¾ã 2*6 = 12
ãã代å
¥ããã¾ãã
$g = double(++$e); /* $g ã«ã¯ã$e
ãå ç®ãããå¾ã®å¤ã2åããå¤ã
ã¤ã¾ã 2*7 = 14
ãã代å
¥ããã¾ãã
$h = $g += 10; /* ã¾ãã$g ã« 10 ãå ç®ããã24
ã«ãªãã¾ãã
代å
¥å¤ (24) ã¯ã$h
ã«ä»£å
¥ããã¾ãã
ããã¦ã$h ãåæ§ã« 24
ã«ãªãã¾ãã */
Expected result:
----------------
$f = double($d++); /* $f ã«ã¯ã$d
ãå ç®ãããåã®å¤ã2åããå¤ã
ã¤ã¾ã 2*6 = 12
ãã代å
¥ããã¾ãã */
$g = double(++$e); /* $g ã«ã¯ã$e
ãå ç®ãããå¾ã®å¤ã2åããå¤ã
ã¤ã¾ã 2*7 = 14
ãã代å
¥ããã¾ãã */
$h = $g += 10; /* ã¾ãã$g ã« 10 ãå ç®ããã24
ã«ãªãã¾ãã
代å
¥å¤ (24) ã¯ã$h
ã«ä»£å
¥ããã¾ãã
ããã¦ã$h ãåæ§ã« 24
ã«ãªãã¾ãã */
Actual result:
--------------
$f = double($d++); /* $f ã«ã¯ã$d
ãå ç®ãããåã®å¤ã2åããå¤ã
ã¤ã¾ã 2*6 = 12
ãã代å
¥ããã¾ãã
$g = double(++$e); /* $g ã«ã¯ã$e
ãå ç®ãããå¾ã®å¤ã2åããå¤ã
ã¤ã¾ã 2*7 = 14
ãã代å
¥ããã¾ãã
$h = $g += 10; /* ã¾ãã$g ã« 10 ãå ç®ããã24
ã«ãªãã¾ãã
代å
¥å¤ (24) ã¯ã$h
ã«ä»£å
¥ããã¾ãã
ããã¦ã$h ãåæ§ã« 24
ã«ãªãã¾ãã */
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79508&edit=1