« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for 入れ子 (0.002 sec.)
if | PHP 8.3 11095
if (PHP 4, PHP 5, PHP 7, PHP 8) if 構文は、PHP を含む全ての言語において最も重要な 機能の一つです。 この構文は、命令の条件実行を可能にします。 PHP では、C 言語に似た次のような if 構文が使用されます。 if (式) 文 式のセクション で 記述したよう ... 大きい\n" ; $b = $a ; } var_dump ( $b ); 上の例の出力は以下となります。 aはbより大きい int(3) if 文は、他の if 文の中で無限に入れ子にできます。 これは、プログラムの様々な部分の条件付実行について 完全な柔軟性を提供します。 他のマニュアルの関連ページ Python ...
https://man.mtool.work/php/8.3/control-structures.if.html
while | PHP 8.3 11095
while (PHP 4, PHP 5, PHP 7, PHP 8) while ループは、PHPで最も簡単なタイプのループです。 このループは、CのWHILEループと同様の動作をします。 while ループの基本形は次のようになります。 while (式) 文 while 文の意味は簡単です。 while 文は、式の値 ... が true である間、 入れ子の文を繰り返し実行することをPHPに指示します。 式の値は各反復処理の開始時にチェックされるので、ループ内の文の実行により この値 ...
https://man.mtool.work/php/8.3/control-structures.while.html
制御構造に関する別の構文 | PHP 8.3 7397
制御構造に関する別の構文 (PHP 4, PHP 5, PHP 7, PHP 8) PHPは、いくつかの制御構造、つまり、 if 、 while 、 for 、 foreach 、 switch 、 declare に関する別の構文を提供します。 各構造において開き波括弧をコロン(:)、閉じ波括弧をそれぞれ endif; , e ... ?> 上の例の出力は以下となります。 Aは5に等しい 上の例では、HTML ブロック "Aは5に等しい" はこの構文で 書かれた if 文の内部で入れ子になっています。 この HTML ブロックは、 $a が 5 の場合にのみ表示されます。 この方法は、 else や elseif にも同様に適用すること ...
https://man.mtool.work/php/8.3/control-structures.alternative-syntax.html
mkdir — ディレクトリを作る | PHP 8.3 7397
mkdir (PHP 4, PHP 5, PHP 7, PHP 8) mkdir — ディレクトリを作る 説明 function mkdir ( string $directory , int $permissions = 0777 , bool $recursive = false , ? resource $context = null ): bool directory で指定したディレクトリを作成します。 パ ... 例2 mkdir() での recursive パラメータの使用例 <?php // 作りたいディレクトリ構造 $structure = './depth1/depth2/depth3/' ; // 入れ子構造を作るには、$recursive パラメータを // mkdir() に指定しなければなりません if (! mkdir ( $structure , 0777 , true )) { di ...
https://man.mtool.work/php/8.3/function.mkdir.html
PREV 1 NEXT