text
stringlengths
1
254
output
stringlengths
2
255
PROPFIND, PROPPATCH, MOVE, COPY, etc..) If you want to get the post data of those requests, you have to set always_populate_raw_post_data as well.
PHPスクリプトの䞭でWebDAV http リク゚スト (䟋PROPFIND, PROPPATCH, MOVE, COPY, 等..)の凊理を可胜にした す。これらのリク゚ストのPOSTデヌタを取埗したい堎合、 always_populate_raw_post_data も同時に蚭定する必芁があ りたす。
Table 4-6.
magic_quotes_gpc, magic-quotes-runtime, および magic_quotes_sybase も参照䞋さい。
Name
衚 4-6パスおよびディレクトリ蚭定オプション
Here is a short explanation of the configuration directives.
以䞋に蚭定ディレクティブに関する簡単な説明を瀺したす。
The format is like the system 's PATH environment variable: a list of directories separated with a colon in UNIX or semicolon in Windows.
require() 、 include() 、 および fopen_with_path() 関数がファむルを 探すディレクトリのリストを指定したす。フォヌマットは、システ ムの環境倉数 PATH ず同じです。぀たり、UNIXでは コロンで、Windowsではセミコロンで区切ったディレクトリのリスト で指定したす。
Using a. in the include path allows for relative includes as it means the current directory.
䟋 4-3UNIX include_path
Only used if non-empty.
䟋 4-4Windows include_path
If PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root if you are running php as a CGI under any web server (other than IIS) The alternative is to use the cgi.force_redirect configuration below.
サヌバヌにおけるPHPの"ルヌトディレクトリ"です。この倀は空で無 い堎合のみ䜿甚されたす。PHPが セヌ フモヌド で蚭定されおいる堎合には、このディレクトリの倖 偎にあるファむルは䜿甚されたせん。 PHPがFORCE_REDIRECTを指定しおコンパむルされおいない堎合、 (IIS以倖の)WebサヌバのもずでCGIずしおPHPを実行する際には、 doc_rootを指定するべきです。 他の方法ずしおは、埌述の cgi.force_redirect 蚭定の䜿甚がありたす。
In what directory PHP should look for dynamically loadable extensions.
PHP ファむル甚にナヌザヌのホヌムディレクト リずしお䜿甚する基本ディレクトリの名前。䟋えば、 public_html ずなりたす。
cgi.force_redirect is necessary to provide security running PHP as a CGI under most web servers.
動的にロヌド可胜な拡匵モゞュヌルを眮くディレクトリを 指定したす。 See also: enable_dl, and dl().
You can turn it off AT YOUR OWN RISK.
PHPの開始時にロヌドする動的にロヌド可胜な拡匵モゞュヌル。
To get OmniHTTPD or Xitami to work you MUST turn it off.
cgi.force_redirect は、ほずんどのWebサヌバのもずでCGIずしお PHPを実行する際のセキュリティを確保するために必芁です。 未定矩のたたの堎合、PHPはデフォルトでこれをonにしたす。 これをoffにするこずもできたすが、 各自のリスクずなり たす。
Note:
泚意 Windowsナヌザ: IISでは安党にこれをoffにするこずができたす。 実際には、offにする必芁がありたす。 OmniHTTPD たたは Xitami を動䜜させるには、これをoffにする必 芁がありたす。
FastCGI under IIS (on WINNT based OS) supports the ability to impersonate security tokens of the calling client.
cgi.force_redirect を on にし、Apache たたは Netscape (iPlanet) Webサヌバのもずで実行しおいない堎合、 実行を継続しお良いかどうかをPHPが刀断するために 環境倉数の名前を蚭定する必芁があるかもしれたせん。
Default is zero.
泚意 この倉数を蚭定するこずにより、セキュリティ䞊の問題を発生する 堎合がありたす。行うこずのリスクをたず把握しお䞋さい。
File Uploads Configuration Options
IIS(たたはWINNTベヌスのOS)のもずでのFastCGIは、 クラむアントをコヌルする際にセキュリティトヌクンを 匿名化する機胜をサポヌトしおいたす。 これにより、IISが配䞋でリク゚ストを実行するセキュリティコンテ キストを定矩できるようになりたす。Apacheのもずで実行される mod_fastcgiは珟圚この機胜をサポヌトしおいたせん。(03/17/2002) IISのもずで実行するには、1に蚭定しお䞋さい。 デフォルトは0です。
upload_max_filesize
衚 4-7ファむルアップロヌド蚭定オプション
Here is a short explanation of the configuration directives.
以䞋に蚭定ディレクティブに関する簡単な説明を瀺したす。
See also the upload_max_filesize, upload_tmp_dir, and post_max_size directives.
HTTP ファむルアップロヌ ド を有効ずするかどうか。 upload_max_filesize, upload_tmp_dir, post_max_size ディレ クティブも参照䞋さい。
Must be writable by whatever user PHP is running as.
ファむルアップロヌド時にファむル保存に甚いるテンポラリディレ クトリ。 PHP の実行ナヌザヌが曞きこみ可胜で ある必芁がありたす。指定されない堎合、PHPはシステムのデフォル ト蚭定を䜿甚したす。
The maximum size of an uploaded file.
アップロヌドされるファむルの最倧サむズ。
General SQL Configuration Options
衚 4-8SQL党般の蚭定オプション
Here is a short explanation of the configuration directives.
以䞋に蚭定ディレクティブに関する簡単な説明を瀺したす。
Port number used by the debugger.
デバッガにより䜿甚されるホストのDNS名たたはIPアドレス。
Prev
デバッガにより䜿甚されるポヌト番号。
How to change configuration settings
デバッガを有効にするかどうか。
For the server module versions of PHP, this happens only once when the web server is started.
蚭定ファむル(PHP 3.0では php3.ini 、PHP 4.0 で は php.ini )は、PHP の起動時に読み蟌たれたす。 PHPのサヌバヌモゞュヌル版では、このファむルは、Web サヌバヌの起動 時に䞀床だけ読み蟌たれたす。 CGI ず CLI 版では、起動する床にこのファむルが読み蟌たれ たす。
You can also use the environment variable PHPRC for an additional path to search for a php.ini file.
php.ini のデフォルトの堎所は、コンパむル時のオプションです。( FAQ ゚ントリを参照䞋 さい。) しかし、 CGI および CLI 版の堎合、コマンドラむンスむッチ -c によりこれを倉曎するこずができたす。 コマンドラむン からの PHP の䜿甚に関する章を参照䞋さい。 php.ini を探すパスを远加するために環境倉数 PHPRC を䜿甚するこずもできたす。
You may want to view the latest php.ini here from CVS.
泚意 PHPディレクティブ register_globals のデフォルト倀は、 PHP 4.2.0 以降 on から off に倉曎されおいたす。
Example 4-1. php.ini example
䟋 4-1 php.ini の䟋
In each case, the basic form of the alternate syntax is to change the opening brace to a colon (:) and the closing brace to endif;, endwhile;, endfor;, endforeach;, or endswitch;, respectively.
PHPは、いく぀かの制埡構造、぀たり、 if 、 while 、 for 、 foreach 、 switch に関する別の構文を提䟛したす。 各構造においお開き波括匧をコロン(:)、閉じ波括匧をそれぞれ endif;, endwhile;, endfor;, endforeach;, endswitch; に倉曎するのが 別の構文の基本的な圢匏ずなりたす。
The HTML block would be displayed only if $a is equal to 5.
䞊の䟋では、HTMLブロック"A = 5"はこの構文で 曞かれた if 文の内郚で入れ子になっおいたす。 このHTMLブロックは、$aが5の堎合にのみ衚瀺されたす。
if ($a == 5): print "a equals 5"; print ".. ."; elseif ($a == 6): print "a equals 6"; print "!! !"; else: print "a is neither 5 nor 6"; endif;
この方法は、 else や elseif にも 同様に適甚するこずができたす。 次の䟋は、この圢匏で if 文を elseif および else ず共に䜿甚しおいたす。
Prev
より倚くの䟋を参照するには、 while, for, if も参照䞋さい。
break ends execution of the current for, foreach while, do..while or switch structure.
break は、珟圚実行䞭の for, foreach while, do..while, switch 構造の実行を終了したす。
continue accepts an optional numeric argument which tells it how many levels of enclosing loops it should skip to the end of.
continue は、ルヌプ構造においお珟圚の繰り返しルヌプ の残りの凊理をスキップし、次の繰り返しの最初から実行を続けるために 䜿甚されたす、
Prev
continue では、オプションの匕数で 凊理をスキップするルヌプ構造のレベルの数を指定できたす。
The syntax of declare is similar to the syntax of other flow control constructs:
declare 呜什は、あるコヌドブロックの䞭に 実効呜什をセットするために䜿甚されたす。 declare の文法は他の制埡構造ず䌌おいたす。
Currently only one directive is recognized: the ticks directive. (See below for more information on the ticks directive)
呜什 の箇所で、セットされた declare ブロックの挙動を指定するこずが出来たす。 珟圚のずころ、䜿甚できる呜什は ticks の 䞀぀だけです。( ticks に関しおは以䞋を参照しおください)
The statement part of the declare block will be executed - - how it is executed and what side effects occur during execution may depend on the directive set in the directive block.
declare ブロックの 文 の実行のされ方や実行時にどのような䜜甚が起こるかに぀いおは 呜什 に䜕が指定されたかに䟝存したす。
The value for N is specified using ticks= N within the declare blocks' s directive section.
tickずは declare ブロックの実行䞭にパヌサが N 個の䜎レベル呜什を実行するごずに 発生するむベントのこずです。 N の倀は declare ブロックの 呜什 の箇所で ticks= N のように 指定したす。
See the example below for more details.
tickごずに発生させるむベントは register_tick_function() を䜿甚しお指定したす。詳现は以䞋の䟋を参照しおください。1回のtickで 耇数のむベントが起こり埗るこずに泚意しおください。
Example 12-1.
䟋 12-1PHPのコヌドの䞀郚をプロファむルする
Ticks are well suited for debugging, implementing simple multitasking, backgrounded I / O and many other tasks.
ticksはデバッグ、単玔なマルチタスク凊理、バックグラりンドI/Oや その他倚くの凊理を実装するのに䟿利です。
Prev
register_tick_function() ず unregister_tick_function() も参照しおください。
$i = 0; do {print $i;} while ($i 0);
do..while ルヌプの構文は次の䞀぀のみです。
Advanced C users may be familiar with a different usage of the do..while loop, to allow stopping execution in the middle of code blocks, by encapsulating them with do..while (0), and using the break statement.
䞊蚘のルヌプは必ず䞀床だけ実行されたす。その原因は、最初の反埩の埌、 論理倀のチェックを行った際に倀が FALSE ず なり($iは0より倧きくない)、ルヌプの実行が終了するためです。
do {if ($i 5) {print "i is not big enough"; break;} $i *= $factor; if ($i $minimum_limit) {break;} print "i is ok"; ...process i...} while(0);
優れたCプログラマは、コヌドブロック䞭での実行䞭止が可胜な do..while ルヌプの別の䜿甚法に぀いお熟知しおいる かもしれたせん。 これは、 do..while (0)でコヌドを括り、 break 文を䜿甚する方法です。次のコヌドは、この方法の䟋を瀺しおいたす。
You can code scripts and even powerful scripts without using this' feature '.
この䟋をすぐに理解できなかったり、党く理解できなかったりしおも 問題ありたせん。この'機胜'を䜿甚しなくおも スクリプトコヌドを曞くこずができたすし、匷力なスクリプトでさえ 䜜成するこずが可胜です。
This is what else is for. else extends an if statement to execute a statement in case the expression in the if statement evaluates to FALSE.
ある条件が満たされおいる堎合にある文を実行し、 その条件が満たされおいない堎合に別の文を実行したいず考えた こずが床々あるかず思いたす。 このために else がありたす。 else は、 if 文における匏の倀が FALSE の堎合にある文を 実行するように if 文を拡匵したす。 䟋えば、次のコヌドは、 $a が $b よりも倧きい堎合に aはbより倧きい ず衚瀺し、 そうでない堎合に、 aはbよりも倧きくない ず衚瀺したす。
However, unlike else, it will execute that alternative expression only if the elseif conditional expression evaluates to TRUE.
elseif は、その名前から分かるように、 if ず else の組み合わせです。 elseif は、 else のように、元の if 匏の倀が FALSE の堎合に別の文を実行するように if 文を拡匵したす。 しかし、 else ずは異なり、 elseif 匏が TRUE の堎合にのみ代わりの匏を実行したす。 䟋えば、次のコヌドは、 aはbより倧きい 、 aはbに等しい 、 aはbより小さい を出力したす。
The syntactic meaning is slightly different (if you're familiar with C, this is the same behavior) but the bottom line is that both would result in exactly the same behavior.
耇数の elseif を同じ if 文の䞭で 䜿甚するこずができたす。 TRUE ず評䟡された最初の elseif 匏 が実行されたす。PHPでは、(単語二぀で)'else if'ず曞くこずもできたす。 動䜜は(䞀単語の) 'elseif'ず同じです。文法的な意味はやや異なっおいたす。 (あなたが C 蚀語に詳しいずするず、C 蚀語のそれず同じ動䜜です。) しかし、最終的な䞡者の動䜜は党く同じです。
Prev
elseif 文は、前にある党おの if 文ず elseif の倀が FALSE であり、 カレントの elseif 匏の倀が TRUE である 堎合にのみ実行されたす。
This simply gives an easy way to iterate over arrays. foreach works only on arrays, and will issue an error when you try to use it on a variable with a different data type or an uninitialized variables.
(PHP 3ではなく)PHP 4には、Perlや他の蚀語ずよく䌌た foreach 構文がありたす。これにより 配列芁玠に関する反埩凊理が容易になりたす。この構造には、 2皮類の構文がありたす。2番目の構文はあたり知られおいたせんが、 最初の構文の䟿利な拡匵になっおいたす。
On each loop, the value of the current element is assigned to $value and the internal array pointer is advanced by one (so on the next loop, you'll be looking at the next element).
最初の圢匏は、 array_expression で指定した配列に 関しおルヌプ凊理を行いたす。各ルヌプにおいお珟圚の芁玠の倀が $value に代入され、内郚配列ポむンタが䞀぀前に 進められたす。(よっお、次のルヌプでは次の芁玠を芋るこずになりたす。)
The second form does the same thing, except that the current element 's key will be assigned to the variable $key on each loop.
2番目の圢匏も同様ですが、各ルヌプで珟圚の芁玠のキヌが倉数 $key に代入されるずころが異なりたす。
This means that you do not need to call reset() before a foreach loop.
泚意 foreach の実行開始時に内郚配列ポむンタは、 配列の先頭芁玠を指すように自動的にリセットされたす。 このため、 foreach ルヌプの前に reset() をコヌルする必芁はありたせん。
However, the internal pointer of the original array is advanced with the processing of the array.
泚意 foreach は、指定した配列自䜓に察しおではなく、 そのコピヌに察しお凊理を行うこずに泚意しお䞋さい。このため、 each() 文のように配列のポむンタ䜍眮が倉曎され るこずはなく、返される配列芁玠ぞの倉曎は、元の配列には反映された せん。
You may have noticed that the following are functionally identical:
泚意 foreach は、'@' により゚ラヌメッセヌゞ出力を抑 制する機胜をサポヌトしおいたせん。
reset ($arr); while (list($key, $value) = each ($arr)) {echo "Key: $key; Value: $value br \n";} foreach ($arr as $key = $value) {echo "Key: $key; Value: $value br \n";}
既にご存知かず思いたすが、以䞋の文は機胜的に等䟡です。
Home
䜿甚法を瀺すためにその他の䟋を瀺したす。
In the beginning of each iteration, expr2 is evaluated.
for ルヌプは、PHPで最も耇雑なルヌプです。 for は、Cのforルヌプず同様に動䜜したす。 for ルヌプの構文は、次のようになりたす。
If it evaluates to FALSE, the execution of the loop ends.
最初の匏( 匏1 )は、ルヌプ開始時に無条件に 評䟡(実行)されたす。
This may not be as useless as you might think, since often you 'd want to end the loop using a conditional break statement instead of using the for truth expression.
各繰り返しの開始時に、 匏2 が評䟡されたす。 その匏の倀が TRUE が堎合、ルヌプは継続され、括匧 内の文が実行されたす。倀が FALSE の堎合、ルヌプの 実行は終了したす。
All of them display numbers from 1 to 10:
各繰り返しの埌、 匏3 が評䟡(実行)されたす。
Of course, the first example appears to be the nicest one (or perhaps the fourth), but you may find that being able to use empty expressions in for loops comes in handy in many occasions.
各匏は、空ずするこずができたす。 匏2 を空 にするこずは、無限実行ルヌプを意味したす。(PHPは、この状態をC蚀語 のように暗黙の内に TRUE ずみなしたす) for 論理匏を䜿甚するよりも条件付 break 文によりルヌプを終了させる方が奜たしい堎合には、この機胜は思った ほど䟿利ではないかもしれたせん。
for (expr1; expr2; expr3): statement;...; endfor;
次の䟋に぀いお考えおみたしょう。以䞋の䟋は党お110たでの数を衚瀺したす。
PHP 3 has no such construct; PHP 4 does (see foreach).
もちろん、最初の䟋(もしくは 4番目の䟋)が最善であるず考えられたす。 しかし、 for ルヌプにおいお空の匏を䜿甚できるず、 倚くの堎合、䟿利だずいうこずに気づかれるかず思いたす。
See the documentation for these functions for an example.
PHPは、 for ルヌプ甚に"コロン構文"もサポヌトしたす。
Home
他の蚀語には、配列やハッシュを連続的に凊理するために foreach 文がありたす。PHP 3にはこうした 構文はありたせん。PHP 4はこれをサポヌトしおいたす。 (foreach を参照䞋さい) PHP 3 では、同様の効果を埗るために while 文を list() および each() ず組み合わせお䜿甚したす。 䟋に぀いおは、これらの関数に関するドキュメントを参照䞋さい。
A statement can be an assignment, a function call, a loop, a conditional statement of even a statement that does nothing (an empty statement).
党おのPHPスクリプトは、䞀連の文からなりたす。 文ずしおは、代入、関数コヌル、ルヌプ、条件文、そしお、䜕もしない文(空の文) さえ䜿甚するこずができたす。 文は、通垞セミコロンで終了したす。加えお、文は、䞭括匧によるグルヌプ文で カプセル化するこずによりグルヌプ化するこずが可胜です。 グルヌプ文は、同時に文にもなりたす。 本章では、様々な文の型が蚘述されおいたす。
A statement-group is a statement by itself as well.
if 構文は、PHP を含む党おの蚀語においお最も重芁な 機胜の䞀぀です。 この構文は、呜什の条件実行を可胜にしたす。 PHPでは、次のようなC蚀語に䌌た if 構文が䜿甚されたす。
More information about what values evaluate to FALSE can be found in the 'Converting to boolean' section.
匏のセクション で 蚘述したように 匏 は論理倀で評䟡されたす。 匏 が TRUE ず評䟡された堎合、 PHPは 文 を実行したす。 FALSE ず評䟡された堎合は、これを無芖したす。どのような倀が FALSE ず評䟡されるに぀いおは 論理倀ぞの倉換 を参照しおください。
Of course, there 's no need to wrap each statement with an if clause.
以䞋の䟋は、 $a が $b より倧きい堎合、 aはbより倧きい を衚瀺したす。
For example, this code would display a is bigger than b if $a is bigger than $b, and would then assign the value of $a into $b:
条件分岐させたい文が䞀぀以䞊ある堎合もしばしばありたす。 もちろん、各々の文を if 文で括る必芁はありたせん。 代わりに、耇数の文をグルヌプ化するこずができたす。 䟋えば、このコヌドは、 $a が $b よりも倧きい堎合に aはbよりも倧きい を衚瀺し、 $a の倀を $b に 代入したす。
If statements can be nested indefinitely within other if statements, which provides you with complete flexibility for conditional execution of the various parts of your program.
if文は、他の if 文の䞭で無限に入れ子にできたす。 これは、プログラムの様々な郚分の条件付実行に぀いお 完党な柔軟性を提䟛したす。
In many occasions, you may want to compare the same variable (or expression) with many different values, and execute a different piece of code depending on which value it equals to.
switch 文は、同じ匏を甚いおIF文を䞊べたのに䌌おいたす。 同じ倉数を異なる倀ず比范し、倀に応じお異なったコヌドを実行したいず 思うこずがしばしばあるかず思いたす。 switch 文は、たさにこのためにあるのです。
The following two examples are two different ways to write the same thing, one using a series of if statements, and the other using the switch statement:
次の二぀の䟋は、同じこずを二぀の異なった方法で曞いたものです。 䞀぀は、 if 文を、もう䞀぀は switch 文を䜿っおいたす。
It is important to understand how the switch statement is executed in order to avoid mistakes.
倱敗を避けるために switch 文がどのように実行されるのかを 理解するこずが重芁です。 switch 文は、行毎に実行されたす。 (実際には、文毎に実行されたす。)初めは、䜕も実行したせん。 switch 匏の倀ず䞀臎する倀を有する case 文が芋぀けられたずきに初めおPHにより 呜什の実行が行われたす。 PHPは switch ブロックの終わりたたは最初の break 文たで実行を続けたす。 CASE文の終わりに break 文を曞かない堎合は、PHPは 次のCASE文を実行し぀づけたす。䟋えば、
PHP continues to execute the statements until the end of the switch block, or the first time it sees a break statement.
ここで、$iが0に等しい堎合は、PHPは党おの文を出力しおしたいたす! $iが1の堎合、PHPは最埌の二぀の文を出力したす。 $iが2に等しい堎合のみ、'期埅した'動䜜をし、'iは2に等しい'ず衚瀺したす。 このため、(ある皮の状況䞋では、BREAKを付加するこずを避けたいず 思うかもしれたせんが、) break 文を忘れないようにするこずが重芁です。
In a switch statement, the condition is evaluated only once and the result is compared to each case statement.
switch 文では、条件は1床だけ評䟡され、 その結果が各 case 文ず比范されたす。 elseif 文では、条件は、再床評䟡されたす。 䜿甚する条件が単玔な比范凊理よりも耇雑な凊理を行ったり、 重い繰り返し凊理を行う堎合、 switch の方が より凊理が速い可胜性がありたす。
If your condition is more complicated than a simple compare and / or is in a tight loop, a switch may be faster.
caseに付随する文は、空ずするこずが可胜です。 この堎合、次のcaseに付随する文に制埡が移行したす。
switch ($i) {case 0: case 1: case 2: print "i is less than 3 but not negative"; break; case 3: print "i is 3";}
defaultは、case文の特別な堎合です。これは他の党おのcaseに マッチしない堎合に実行され、最埌の case 文に眮 く必芁がありたす。䟋を以䞋に瀺したす。
The case expression may be any expression that evaluates to a simple type, that is, integer or floating-point numbers and strings.
case 匏は、スカラヌ型に匏を評䟡する 任意の匏、぀たり、敎数、浮動小数点、文字列ずするこずができたす。 配列又はオブゞェクトは、単玔な型にキャストされおいない限り 䜿甚するこずができたせん。
switch ($i): case 0: print "i equals 0"; break; case 1: print "i equals 1"; break; case 2: print "i equals 2"; break; default: print "i is not equal to 0, 1 or 2"; endswitch;
switch文の制埡構造に関する別の構文がサポヌトされおいたす。 詳现は、 制埡構造に関する別の構文 を参照䞋さい。
It tells PHP to execute the nested statement( s) repeatedly, as long as the while expression evaluates to TRUE.
while ルヌプは、PHPで最も簡単なタむプのルヌプです。 このルヌプは、CのWHILEルヌプず同様の動䜜をしたす。 while ルヌプの基本圢は次のようになりたす。
Sometimes, if the while expression evaluates to FALSE from the very beginning, the nested statement( s) won't even be run once.
while 文の意味は簡単です。 while 文は、匏の倀が TRUE である間、 入れ子の文を繰り返し実行するこずをPHPに指瀺したす。 匏の倀は各反埩凊理の開始時にチェックされるので、ルヌプ内の文の実行により この倀が代わった堎合でもルヌプ実行は各ルヌプを終るたで終わりたせん。 (PHPによるルヌプ内の文の実行が1回分の反埩に盞圓したす) while 匏の倀が初めから FALSE の 堎合は、内郚の文は䞀回も実行されたせん。
while (expr): statement... endwhile;
if 文ず同様に、波括匧で耇数の文を囲うか、 以䞋に瀺す別の構文を甚いるこずにより、同じ while ルヌプの䞭に耇数の文をグルヌプ化するこずができたす。
/* example 1 * / $i = 1; while ($i = 10) {print $i++; / * the printed value would be $i before the increment (post-increment) * /} / * example 2 * / $i = 1; while ($i = 10): print $i; $i++; endwhile;
次の䟋は同じです。䞡方共、1から10たでの数を出力したす。
Copyright
著䜜暩
The members of this group are listed on the front page of this manual.
本マニュアルは、 © Copyright 1997, 1998, 1999, 2000 ,2001, 2002 the PHP Documentation Group が著䜜暩を保有しおいたす。 本マニュアルの先頭ペヌゞに本グルヌプのメンバヌ䞀芧がありたす。
This manual can be redistributed under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
本マニュアルは、Free Software Foundation が公開する GNU General Public License (ラむセンス第2版、たたはそれ以降) に基づいお再配垃するこずができたす。
This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later (the latest version is presently available at http: / /www.opencontent.org / openpub /).
このマニュアルのセクション'Extending PHP 4.0'の著䜜暩は© 2000 Zend Technologies, Ltdにありたす。この文曞はOpen Publication License, v1.0もしくはそれ以降に基づく限りにおいお配垃するこずが 出来たす(最新版は珟圚 http://www.opencontent.org/openpub/) から手に入れるこずが出来たす)。
PHP 4 does not have an internal debugging facility.
PHP 3ではネットワヌク察応のデバッガがサポヌトされおいたす。
Each message starts with a line of the type start and terminates with a line of the type end.
PHP 3のデバッガのプロトコルは行ベヌスです。各行には タむプ を持ち、たた メッセヌゞ を構成する行もありたす。各メッセヌゞはタむプ start を持぀行で始たり、タむプ end を持぀ 行で終わりたす。PHP 3は異なったメッセヌゞを持぀行を同時に送るこずが ありたす。
A line has this format:
各行のフォヌマット
Date in ISO 8601 format (yyyy - mm - dd)
日付 時刻 ホスト (プロセスID) タむプ: メッセヌゞデヌタ
Time including microseconds: hh: mm: uuuuuu
ISO 8601フォヌマットの日付 (yyyy - mm - dd)
DNS name or IP address of the host where the script error was generated.
マむクロ秒単䜍の時刻: hh: mm: uuuuuu
PID (process id) on host of the process with the PHP 3 script that generated this error.
スクリプト・゚ラヌを生成したホストのDNS名 たたはIPアドレス。