svn: /phpdoc/ja/trunk/language/ constants.xml
| From: | Yoshinari Takaoka | Date: | Tue, 14 Jan 2020 23:25:12 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/language/ constants.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5402@lists.php.net to get a copy of this message | ||
mumumu Tue, 14 Jan 2020 23:25:12 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348922
Log:
fixed mistranslation, pointed out by hnw, thank you!
Changed paths:
U phpdoc/ja/trunk/language/constants.xml
Modified: phpdoc/ja/trunk/language/constants.xml
===================================================================
--- phpdoc/ja/trunk/language/constants.xml 2020-01-14 22:24:35 UTC (rev 348921)
+++ phpdoc/ja/trunk/language/constants.xml 2020-01-14 23:25:12 UTC (rev 348922)
@@ -21,11 +21,10 @@
<code>^[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*$</code>
</para>
<para>
- <function>define</function> 関数を使うと、予約されていたり、
- 正しくない名前の定数を定義することが可能ですが、
- これらの値は <function>constant</function> 関数によって (のみ)
- 取得できます。
- しかし、こんなことは推奨しません。
+ <function>define</function> 関数を使うと、
+ 予約語や有効でない名前の定数を定義することが可能です。
+ この場合の定数の値は constant() 関数によって (のみ) 取得できますが、
+ このような使い方は推奨できません。
</para>
&tip.userlandnaming;