« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 88 for recursive (0.005 sec.)
渡された配列の要素を再帰的に置き換える 11528
« array_replace array_reverse » PHP Manual 配列 関数 渡された配列の要素を再帰的に置き換える 検索 array_replace_recursive (PHP 5 >= 5.3.0, PHP 7, PHP 8) array_replace_recursive — 渡された配列の要素を再帰的に置き換える 説明 function array_rep ... lace_recursive ( array $array , array ...$replacements ): array array_replace_recursive() は、 array の値をそれ以降の配列の同じ要素の値で ... ません。 置き換え用の配列が複数渡された場合は渡した順に処理を行い、 後から渡した配列の値のほうが優先されます。 array_replace_recursive() は再帰的な処理を行います。 配列を再帰的にたどり、内部の値に対しても同じ手順で処理します。 最初の配列の値がスカラーの場合 ... るか配列であるかにかかわらずそれで置き換えられます。 最初の配列の値と 2番目の配列 の値が両方配列である場合は、 array_replace_recursive() が対応する値を再帰的に処理します。 パラメータ array 要素を置き換えたい配列。 replacements 置き換えたい要素を含む配列。 戻 ...
https://man.mtool.work/php/8.3/function.array-replace-recursive.html
渡された配列の要素を再帰的に置き換える 11461
« array_replace array_reverse » PHP Manual 配列 関数 渡された配列の要素を再帰的に置き換える 検索 array_replace_recursive (PHP 5 >= 5.3.0, PHP 7, PHP 8) array_replace_recursive — 渡された配列の要素を再帰的に置き換える 説明 function array_rep ... lace_recursive ( array $array , array ...$replacements ): array array_replace_recursive() は、 array の値をそれ以降の配列の同じ要素の値で ... ません。 置き換え用の配列が複数渡された場合は渡した順に処理を行い、 後から渡した配列の値のほうが優先されます。 array_replace_recursive() は再帰的な処理を行います。 配列を再帰的にたどり、内部の値に対しても同じ手順で処理します。 最初の配列の値がスカラーの場合 ... るか配列であるかにかかわらずそれで置き換えられます。 最初の配列の値と 2番目の配列 の値が両方配列である場合は、 array_replace_recursive() が対応する値を再帰的に処理します。 パラメータ array 要素を置き換えたい配列。 replacements 置き換えたい要素を含む配列。 戻 ...
https://man.mtool.work/php/8.3/function.array-replace-recursive.html
一つ以上の配列を再帰的にマージする 10107
« array_merge array_multisort » PHP Manual 配列 関数 一つ以上の配列を再帰的にマージする 検索 array_merge_recursive (PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8) array_merge_recursive — 一つ以上の配列を再帰的にマージする 説明 function array_merge_recursive ... cursive ( array ...$arrays ): array array_merge_recursive() は、 一つ以上の配列の要素をマージし、 前の配列の最後にもう一つの配列の値を追加します。 マージした後の配列を返します。 入 ... 、引数なしでも呼び出せるようになりました。 このバージョンより前では、少なくともひとつの引数が必須でした。 例 例1 array_merge_recursive() の例 <?php $ar1 = array( "color" => array( "favorite" => "red" ), 5 ); $ar2 = array( 10 , "color" => array( "favorite" = ... > "green" , "blue" )); $result = array_merge_recursive ( $ar1 , $ar2 ); print_r ( $result ); ?> 上の例の出力は以下となります。 Array ( [color] => Array ( [favorite] => Array ( [ ...
https://man.mtool.work/php/8.3/function.array-merge-recursive.html
配列の全ての要素に、ユーザー関数を再帰的に適用する 10040
« array_walk arsort » PHP Manual 配列 関数 配列の全ての要素に、ユーザー関数を再帰的に適用する 検索 array_walk_recursive (PHP 5, PHP 7, PHP 8) array_walk_recursive — 配列の全ての要素に、ユーザー関数を再帰的に適用する 説明 function array_walk ... _recursive ( array | object &$array , callable $callback , mixed $arg = null ): true array 配列の各要素にユーザー定義関数 callback を ... 更履歴 バージョン 説明 8.2.0 戻り値の型が、 true になりました。これより前のバージョンでは、 bool でした。 例 例1 array_walk_recursive() の例 <?php $sweet = array( 'a' => 'apple' , 'b' => 'banana' ); $fruits = array( 'sweet' => $sweet , 'sour' => 'lemon' ); ... function test_print ( $item , $key ) { echo " $key holds $item \n" ; } array_walk_recursive ( $fruits , 'test_print' ); ?> 上の例の出力は以下となります。 a holds apple b holds banana sour holds lemon キー ' sweet ' ...
https://man.mtool.work/php/8.3/function.array-walk-recursive.html
一つ以上の配列を再帰的にマージする 10040
« array_merge array_multisort » PHP Manual 配列 関数 一つ以上の配列を再帰的にマージする 検索 array_merge_recursive (PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8) array_merge_recursive — 一つ以上の配列を再帰的にマージする 説明 function array_merge_recursive ... cursive ( array ...$arrays ): array array_merge_recursive() は、 一つ以上の配列の要素をマージし、 前の配列の最後にもう一つの配列の値を追加します。 マージした後の配列を返します。 入 ... 、引数なしでも呼び出せるようになりました。 このバージョンより前では、少なくともひとつの引数が必須でした。 例 例1 array_merge_recursive() の例 <?php $ar1 = array( "color" => array( "favorite" => "red" ), 5 ); $ar2 = array( 10 , "color" => array( "favorite" = ... > "green" , "blue" )); $result = array_merge_recursive ( $ar1 , $ar2 ); print_r ( $result ); ?> 上の例の出力は以下となります。 Array ( [color] => Array ( [favorite] => Array ( [ ...
https://man.mtool.work/php/8.3/function.array-merge-recursive.html
配列の全ての要素に、ユーザー関数を再帰的に適用する 10040
« array_walk arsort » PHP Manual 配列 関数 配列の全ての要素に、ユーザー関数を再帰的に適用する 検索 array_walk_recursive (PHP 5, PHP 7, PHP 8) array_walk_recursive — 配列の全ての要素に、ユーザー関数を再帰的に適用する 説明 function array_walk ... _recursive ( array | object &$array , callable $callback , mixed $arg = null ): true array 配列の各要素にユーザー定義関数 callback を ... 更履歴 バージョン 説明 8.2.0 戻り値の型が、 true になりました。これより前のバージョンでは、 bool でした。 例 例1 array_walk_recursive() の例 <?php $sweet = array( 'a' => 'apple' , 'b' => 'banana' ); $fruits = array( 'sweet' => $sweet , 'sour' => 'lemon' ); ... function test_print ( $item , $key ) { echo " $key holds $item \n" ; } array_walk_recursive ( $fruits , 'test_print' ); ?> 上の例の出力は以下となります。 a holds apple b holds banana sour holds lemon キー ' sweet ' ...
https://man.mtool.work/php/8.3/function.array-walk-recursive.html
Revert changes to the working copy 9235
« svn_repos_recover svn_status » PHP Manual SVN 関数 Revert changes to the working copy 検索 svn_revert (PECL svn >= 0.3.0) svn_revert — Revert changes to the working copy 説明 function svn_revert ( string $path , bool $recursive = false ): ... bool Revert any local changes to the path in a working copy. パラメータ path The path to the working repository. recursive Optionally make recursive changes. 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 svn_delete() - De ... pository svn_export() - Export the contents of a SVN directory 関連キーワード: svn working changes copy Revert path revert recursive bool false repository 場合 repos recover Search status function string local パラメータ ...
https://man.mtool.work/php/8.3/function.svn-revert.html
Revert changes to the working copy 9235
« svn_repos_recover svn_status » PHP Manual SVN 関数 Revert changes to the working copy 検索 svn_revert (PECL svn >= 0.3.0) svn_revert — Revert changes to the working copy 説明 function svn_revert ( string $path , bool $recursive = false ): ... bool Revert any local changes to the path in a working copy. パラメータ path The path to the working repository. recursive Optionally make recursive changes. 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 svn_delete() - De ... r repository svn_export() - Export the contents of a SVN directory 関連キーワード: working changes copy Revert path revert recursive repository repos recover status local Optionally make 成功 参考 delete Delete items export Export contents directory ...
https://man.mtool.work/php/8.3/function.svn-revert.html
Sends changes from the local working copy to the repository 8431
« svn_client_version svn_delete » PHP Manual SVN 関数 Sends changes from the local working copy to the repository 検索 svn_commit (PECL svn >= 0.1.0) svn_commit — Sends changes from the local working copy to the repository 説明 function svn ... _commit ( string $log , array $targets , bool $recursive = true ): array Commits changes made in the local working copy files enumerated in the targets array to the repository, wi ... th the log message log . Directories in the targets array will be recursively committed unless recursive is set to false . 注意 : This function does not have any parameters for specifying authentica ... す。呼び出しもとのスクリプトの作業ディレクトリを基準とするには、 realpath() あるいは dirname(__FILE__) を使用してください。 recursive Boolean flag to disable recursive committing of directories in the targets array. Default is true . 戻り値 Returns array i ...
https://man.mtool.work/php/8.3/function.svn-commit.html
Sends changes from the local working copy to the repository 8431
« svn_client_version svn_delete » PHP Manual SVN 関数 Sends changes from the local working copy to the repository 検索 svn_commit (PECL svn >= 0.1.0) svn_commit — Sends changes from the local working copy to the repository 説明 function svn ... _commit ( string $log , array $targets , bool $recursive = true ): array Commits changes made in the local working copy files enumerated in the targets array to the repository, wi ... th the log message log . Directories in the targets array will be recursively committed unless recursive is set to false . 注意 : This function does not have any parameters for specifying authentica ... す。呼び出しもとのスクリプトの作業ディレクトリを基準とするには、 realpath() あるいは dirname(__FILE__) を使用してください。 recursive Boolean flag to disable recursive committing of directories in the targets array. Default is true . 戻り値 Returns array i ...
https://man.mtool.work/php/8.3/function.svn-commit.html
PREV 1 2 3 4 5 6 7 8 9 NEXT