Index: phpdoc/ja/features/file-upload.xml diff -u phpdoc/ja/features/file-upload.xml:1.9 phpdoc/ja/features/file-upload.xml:1.10 --- phpdoc/ja/features/file-upload.xml:1.9 Sat Nov 11 16:23:30 2000 +++ phpdoc/ja/features/file-upload.xml Thu Dec 14 06:45:15 2000 @@ -329,7 +329,7 @@ -<? copy($PHP_UPLOADED_FILE_NAME,$DOCUMENT_ROOT.$REQUEST_URI); ?> +<?php copy($PHP_UPLOADED_FILE_NAME,$DOCUMENT_ROOT.$REQUEST_URI); ?> Index: phpdoc/ja/functions/array.xml diff -u phpdoc/ja/functions/array.xml:1.15 phpdoc/ja/functions/array.xml:1.16 --- phpdoc/ja/functions/array.xml:1.15 Fri Dec 1 04:50:45 2000 +++ phpdoc/ja/functions/array.xml Thu Dec 14 06:45:16 2000 @@ -456,7 +456,7 @@ が可能です。 - ソート方法指定フラグ: + ソート方指定フラグ: SORT_ASC - 昇順にソート @@ -900,7 +900,7 @@ offsetおよびlengthで 何も削除しないと指定した場合、配列replacementの 要素はoffsetで指定された位置に挿入されます。 - ヒント:replacementに一つしか要素がない場合、要素そのものが配列でない限り、 + ヒント:replacementに一しか要素がない場合、要素そのものが配列でない限り、 array()で括る必要はありません。 @@ -1626,7 +1626,7 @@ <function>extract</function>の例 -<php? +<?php /* $var_array はwddx_deserializeから返された配列と仮定します */ @@ -2003,7 +2003,7 @@ next - 内部配列ポイタを進める + 内部配列ポイャ¿を進める @@ -2145,7 +2145,7 @@ resetは、arrayの - 内部ポインタを先頭の要素に戻します。 + 内部ポインタ先頭の要素に戻します。 resetは、配列の最初の要素の値を返します。 Index: phpdoc/ja/functions/network.xml diff -u phpdoc/ja/functions/network.xml:1.16 phpdoc/ja/functions/network.xml:1.17 --- phpdoc/ja/functions/network.xml:1.16 Mon Dec 11 13:42:13 2000 +++ phpdoc/ja/functions/network.xml Thu Dec 14 06:45:16 2000 @@ -497,7 +497,7 @@ <function>ip2long</function>の例 -<? +<?php $ip = gethostbyname("www.php.net"); $out = "The following URLs are equivalent:<br>\n"; $out .= "http://www.php.net/, http://".$ip."/, and http://".ip2long($ip)."/<br>\n"; Index: phpdoc/ja/functions/pdf.xml diff -u phpdoc/ja/functions/pdf.xml:1.14 phpdoc/ja/functions/pdf.xml:1.15 --- phpdoc/ja/functions/pdf.xml:1.14 Sat Oct 14 06:26:33 2000 +++ phpdoc/ja/functions/pdf.xml Thu Dec 14 06:45:16 2000 @@ -412,7 +412,7 @@ pdf_stroke($pdf); pdf_restore($pdf); - /* 中心に小さな円を描画 */ + /* 中に小さな円を描画 */ pdf_circle($pdf, 0, 0, $radius/30); pdf_fill($pdf); @@ -1653,7 +1653,7 @@ pdf_rect 関数は、左下隅を点 (x-coor, y-coor) と - した長方形を描画します。幅を widgth に設定 + した長方形を描画します。幅を width に設定 します。高さを height に設定します。 @@ -2091,7 +2091,7 @@ 4 はページを表示する際に1行ずつスクロールする, - 5 はページを描画する際に古ページを消去する + 5 はページを描画する際に古Dページを消去する 6 は画面の一つの隅から他の隅に移動するように消すといった効果を用いる Index: phpdoc/ja/functions/pgsql.xml diff -u phpdoc/ja/functions/pgsql.xml:1.17 phpdoc/ja/functions/pgsql.xml:1.18 --- phpdoc/ja/functions/pgsql.xml:1.17 Fri Oct 13 08:30:56 2000 +++ phpdoc/ja/functions/pgsql.xml Thu Dec 14 06:45:16 2000 @@ -452,7 +452,7 @@ $database = "verlag"; $db_conn = pg_connect ("localhost", "5432", "", "", $database); if (!$db_conn): ?> - <H1>Failed connecting to postgres database <? echo $database ?></H1> <? + <H1>Failed connecting to postgres database <? echo $database ?></H1> <?php exit; endif; @@ -908,7 +908,7 @@ pg_loreadは、ラージオブジェクトから最大 - lenバイト分読み込み、文字列として返します。 + lenバイト分読み込み、文字列として返しま。 fdには有効なラージオブジェクトのファイル識別子 を指定し、lenにはラージオブジェクトセグメント の利用可能な最大サイズを指定します。 Index: phpdoc/ja/functions/session.xml diff -u phpdoc/ja/functions/session.xml:1.17 phpdoc/ja/functions/session.xml:1.18 --- phpdoc/ja/functions/session.xml:1.17 Sat Nov 11 16:23:31 2000 +++ phpdoc/ja/functions/session.xml Thu Dec 14 06:45:16 2000 @@ -139,7 +139,7 @@ $count++; ?> -こんにちは、あなたがこのページに来たのは<? echo $count; ?> times.<p> +こんにちは、あなたがこのページに来たのは<?php echo $count; ?> times.<p> 回目ですね。 <? @@ -578,7 +578,7 @@ 関数session_unsetは現在登録されている全ての - セッション変数を開放します。 + セッシン変数を開放します。 Index: phpdoc/ja/functions/strings.xml diff -u phpdoc/ja/functions/strings.xml:1.21 phpdoc/ja/functions/strings.xml:1.22 --- phpdoc/ja/functions/strings.xml:1.21 Mon Nov 13 13:41:00 2000 +++ phpdoc/ja/functions/strings.xml Thu Dec 14 06:45:16 2000 @@ -1660,6 +1660,46 @@ + + + strncasecmp + + バイナリ対応の大文字小文字を区別しない文字列比較を最初のn文字につ + いて行う + + + + 説明 + + + int strncasecmp + string str1 + string str2 + int len + + + + この関数は、strcasecmp に似ていますが、各文 + 字列から比較する文字数(の上限)(len)を指定 + できるという違いがあります。どちらかの文字列が + lenより短い場合、その文字列の長さが比較時 + に使用されます。 + + + str1str2 より短 + い場合に < 0 を返し、str1 が + str2 より大きい場合に > 0、等しい場合に + 0を返します。 + + + ereg, strcasecmp, + strcmp, substr, + stristr, strstr も参照 + 下さい。 + + + + strcasecmp @@ -2644,7 +2684,7 @@ strtr は、引数を2つ指定してコールすることが可能です。 引数を2つ指定してコールっ_場合、異なった動作となります。 文字列from では、ソース文字列で変換を行う - 「文字列 -> 文字列」の組を指定する必要があます。 + 「文字列 -> 文字列」の組を指定する必要があィ~す。 strtr は、常にまず最も長くマッチする文字列を探し、 既に置換されている部分文字列については再度置換を行いません。 Index: phpdoc/ja/functions/sybase.xml diff -u phpdoc/ja/functions/sybase.xml:1.4 phpdoc/ja/functions/sybase.xml:1.5 --- phpdoc/ja/functions/sybase.xml:1.4 Wed Oct 18 06:56:06 2000 +++ phpdoc/ja/functions/sybase.xml Thu Dec 14 06:45:16 2000 @@ -233,6 +233,11 @@ numeric - そのカラムが数値である場合に 1 + + + type - カラムのデータ型 + + sybase_field_seekも参照下さい。 Index: phpdoc/ja/functions/xslt.xml diff -u phpdoc/ja/functions/xslt.xml:1.3 phpdoc/ja/functions/xslt.xml:1.4 --- phpdoc/ja/functions/xslt.xml:1.3 Sun Nov 26 04:47:20 2000 +++ phpdoc/ja/functions/xslt.xml Thu Dec 14 06:45:16 2000 @@ -381,7 +381,7 @@ if (xslt_process($xslData, $xmlData, $result)) { - echo "Here is the brilliant in-depth article on learning" + echo "Here is the brilliant in-depth article on learning"; echo " German: "; echo "<br>\n<br>"; echo $result; Index: phpdoc/ja/language/basic-syntax.xml diff -u phpdoc/ja/language/basic-syntax.xml:1.2 phpdoc/ja/language/basic-syntax.xml:1.3 --- phpdoc/ja/language/basic-syntax.xml:1.2 Sat Nov 4 04:12:24 2000 +++ phpdoc/ja/language/basic-syntax.xml Thu Dec 14 06:45:17 2000 @@ -15,8 +15,7 @@ 1. <? echo ("この方法は最も簡単で、SGMLの処理命令です\n"); ?> -2. <?php echo("XMLドキュメントを処理したい場合は、この方法が良いで - しょう\n"); ?> +2. <?php echo("XHTMLまたはXMLドキュメントを処理したい場合は、この方法が良いでしょう\n"); ?> 3. <script language="php"> echo ("(FrontPageのような) いくつかのエディタ は処理命令を好み @@ -38,9 +37,14 @@ - 4番目の方法は、ASP型のタグが asp_tags の設定により有効となってい - る場合にのみ使用可能です。 + 2番目の方法は、次世代のXHTMLをPHPで容易に実装することが可能とする + ので、好ましい方法です。 + + + + 4番目の方法は、ASP型のタグが + asp_tags の設定により有効となっ + ている場合にのみ使用可能です。 @@ -50,8 +54,8 @@ - ブロックの閉じ括弧(右括弧)タグは、直後に改行がある場合、 - それを含んだものになります。 + ブロックの閉じ括弧(右括弧)タグは、直後に改行がある場合、それを含ん + だものになります。 @@ -68,7 +72,7 @@ このため、以下の文は等価です。 - + <?php echo "This is a test"; ?> @@ -87,7 +91,7 @@ 例えば、 - + <?php echo "This is a test"; // C++型の単一行用のコメント /* 複数行用のコメント @@ -104,37 +108,42 @@ のうち最初にくる方までです。 - -<h1>This is an <?# echo "simple";?> example.</h1> + +<h1>This is an <?php # echo "simple";?> example.</h1> <p>The header above will say 'This is an example'. - + + - + 'C'型のコメントがネストしないように注意する必要があります。 - ネストは、大きなブロックをコメントアウトする際に生じます。 + ネストは、大きなブロックをコメントアウトする際に生じます。 + - + + <?php /* echo "This is a test"; /* このコメントが問題を生じます */ */ ?> - - + + + + - + Index: phpdoc/ja/language/types.xml diff -u phpdoc/ja/language/types.xml:1.6 phpdoc/ja/language/types.xml:1.7 --- phpdoc/ja/language/types.xml:1.6 Fri Sep 15 18:27:37 2000 +++ phpdoc/ja/language/types.xml Thu Dec 14 06:45:17 2000 @@ -455,7 +455,7 @@ 使用することができます。 -<? +<?php $a = array( "apple" => array( "color" => "red",