fujimoto Sun Jan 27 10:00:02 2002 EDT Modified files: /phpdoc/ja/language basic-syntax.xml functions.xml Log: updated translation and fixed typo. Index: phpdoc/ja/language/basic-syntax.xml diff -u phpdoc/ja/language/basic-syntax.xml:1.7 phpdoc/ja/language/basic-syntax.xml:1.8 --- phpdoc/ja/language/basic-syntax.xml:1.7 Fri Dec 28 02:04:59 2001 +++ phpdoc/ja/language/basic-syntax.xml Sun Jan 27 10:00:02 2002 @@ -214,7 +214,7 @@ <informalexample> <programlisting role="php"> <![CDATA[ -<h1>This is an <?php # echo "simple";?> example.</h1> +<h1>This is an <?php # echo "simple";?> example.</h1> <p>The header above will say 'This is an example'. ]]> </programlisting> Index: phpdoc/ja/language/functions.xml diff -u phpdoc/ja/language/functions.xml:1.10 phpdoc/ja/language/functions.xml:1.11 --- phpdoc/ja/language/functions.xml:1.10 Mon Jan 14 04:33:36 2002 +++ phpdoc/ja/language/functions.xml Sun Jan 27 10:00:02 2002 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <chapter id="functions"> <title>関数</title> @@ -115,26 +115,6 @@ </informalexample> </para> - <para> - 変数へある変数を参照渡しとしたいが、デフォルトでは参照渡しではない - 場合、関数コール時に引数名の前にアンパサンドを付加することができます。 - - <informalexample> - <programlisting role="php"> -<![CDATA[ -function foo ($bar) { - $bar .= ' and something extra.'; -} -$str = 'This is a string, '; -foo ($str); -echo $str; // 'This is a string, ' を出力します。 -foo (&$str); -echo $str; // 'This is a string, and something extra.' を出力します。 -]]> - </programlisting> - </informalexample> - </para> - </sect2> <sect2 id="functions.arguments.default">