cvs: phpdoc-ja /reference/sqlite reference.xml /reference/strings/functions addcslashes.xml echo.xml

From: Date: Sat, 20 Aug 2005 13:01:00 +0000
Subject: cvs: phpdoc-ja /reference/sqlite reference.xml /reference/strings/functions addcslashes.xml echo.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-1139@lists.php.net to get a copy of this message
shimooka Sat Aug 20 09:01:00 2005 EDT Modified files: /phpdoc-ja/reference/sqlite reference.xml /phpdoc-ja/reference/strings/functions addcslashes.xml echo.xml Log: translation updated http://cvs.php.net/diff.php/phpdoc-ja/reference/sqlite/reference.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-ja/reference/sqlite/reference.xml diff -u phpdoc-ja/reference/sqlite/reference.xml:1.9 phpdoc-ja/reference/sqlite/reference.xml:1.10 --- phpdoc-ja/reference/sqlite/reference.xml:1.9 Fri Jul 22 14:18:55 2005 +++ phpdoc-ja/reference/sqlite/reference.xml Sat Aug 20 09:00:58 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.17 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.18 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <reference id="ref.sqlite"> <title>SQLite関数</title> @@ -168,7 +168,7 @@ ビジータイムアウト時間を設定または無効にする</para> </listitem> <listitem> - <para><link linkend='function.sqlite-last-error'>lastErorr</link> - + <para><link linkend='function.sqlite-last-error'>lastError</link> - 直近に発生したエラーのエラーコードを返す</para> </listitem> <listitem> http://cvs.php.net/diff.php/phpdoc-ja/reference/strings/functions/addcslashes.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-ja/reference/strings/functions/addcslashes.xml diff -u phpdoc-ja/reference/strings/functions/addcslashes.xml:1.6 phpdoc-ja/reference/strings/functions/addcslashes.xml:1.7 --- phpdoc-ja/reference/strings/functions/addcslashes.xml:1.6 Fri Jun 24 11:04:40 2005 +++ phpdoc-ja/reference/strings/functions/addcslashes.xml Sat Aug 20 09:01:00 2005 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./ja/functions/strings.xml, last change in rev 1.1 --> -<!-- EN-Revision: 1.7 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 1.8 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.addcslashes"> <refnamediv> @@ -17,10 +17,10 @@ </methodsynopsis> <para> <parameter>charlist</parameter>パラメータに羅列された文字の前にバッ - クスラッシュを付けた文字列を返します。この関数は、 - <literal>\n</literal>, <literal>\r</literal> 等をC言語と同様の手法 - によりエスケープします。アスキーコードが32未満または126より大きい文 - 字は、8進表現に変換されます。 + クスラッシュを付けた文字列を返します。もし <parameter>charlist</parameter> + が <literal>\n</literal>, <literal>\r</literal> 等の文字を含んでいる場合、 + C言語と同様の手法によりエスケープされます。 + アスキーコードが32未満または126より大きい文字は、8進表現に変換されます。 </para> <para> エスケープ文字を0, a, b, f, n, r, t , vとする場合には注意してください。 http://cvs.php.net/diff.php/phpdoc-ja/reference/strings/functions/echo.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-ja/reference/strings/functions/echo.xml diff -u phpdoc-ja/reference/strings/functions/echo.xml:1.6 phpdoc-ja/reference/strings/functions/echo.xml:1.7 --- phpdoc-ja/reference/strings/functions/echo.xml:1.6 Fri Jun 24 11:04:40 2005 +++ phpdoc-ja/reference/strings/functions/echo.xml Sat Aug 20 09:01:00 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.15 Maintainer: hirokawa Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.17 Maintainer: hirokawa Status: ready --> <!-- CREDITS: shimooka --> <refentry id="function.echo"> <refnamediv> @@ -18,10 +18,13 @@ この関数は、すべてのパラメータを出力します。 </simpara> <para> - <function>echo</function> は実際には関数ではありません。 - (言語構造です。)このため、使用する際に括弧は必要ありません。実際、 - 複数のパラメータを指定して echo をコールしたい場合、括弧の中にパ - ラメータを記述するべきではありません。 + <function>echo</function> は実際には関数ではありません + (言語構造です) 。このため、使用する際に括弧は必要ありません。 + (いくつかの他の言語構造と異なり) <function>echo</function> + は関数のように動作しません。そのため、 + 常に関数のコンテキスト中で使用することはできません。 + 加えて、複数のパラメータを指定して <function>echo</function> + をコールしたい場合、括弧の中にパラメータを記述するべきではありません。 </para> <para> <example> @@ -68,11 +71,13 @@ line with just a semicolon. no extra whitespace! END; -// echo は関数ではないので以下のコードは正しくありません +// echo は関数のように動作しないので、以下のコードは正しくありません ($some_var) ? echo 'true' : echo 'false'; // しかし、次の例は動作します。 -($some_var) ? print('true'): print('false'); // print は関数 +($some_var) ? print 'true' : print 'false'; // print も言語構造ですが、 + // 関数のように動作します。なので、 + // このコンテキスト中で使用できます echo $some_var ? 'true': 'false'; // 命令を変更 ?> ]]>

« previous php.doc.ja (#1139) next »