« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for Spanish (0.001 sec.)
array_map — 指定した配列の要素にコールバック関数を適用する | PHP 8.3 11228
array_map (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) array_map — 指定した配列の要素にコールバック関数を適用する 説明 function array_map ( ? callable $callback , array $array , array ...$arrays ): array array_map() は、 array (および、 それ以上の ... 0 ) Array ( [0] => 2 [1] => 4 [2] => 6 [3] => 8 [4] => 10 ) 例3 array_map() - もっと配列を使ってみる例 <?php function show_Spanish ( int $n , string $m ): string { return "The number { $n } is called { $m } in Spanish" ; } function map_Spanish ( int $n ... n [ $n => $m ]; } $a = [ 1 , 2 , 3 , 4 , 5 ]; $b = [ 'uno' , 'dos' , 'tres' , 'cuatro' , 'cinco' ]; $c = array_map ( 'show_Spanish' , $a , $b ); print_r ( $c ); $d = array_map ( 'map_Spanish' , $a , $b ); print_r ( $d ); ?> 上の例の出力は以下となります。 ... // printout of $c Array ( [0] => The number 1 is called uno in Spanish [1] => The number 2 is called dos in Spanish [2] => The number 3 is called tres in Spanish [3] => The number 4 is called c ...
https://man.mtool.work/php/8.3/function.array-map.html
Creative Commons Attribution 3.0 | PHP 8.3 7485
Creative Commons Attribution 3.0 THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHE ... re made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; to Distribute and Publicly Perform the Work inc ...
https://man.mtool.work/php/8.3/cc.license.html
PREV 1 NEXT