{"id":22549,"date":"2017-05-05T15:37:32","date_gmt":"2017-05-05T06:37:32","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=22549"},"modified":"2024-05-06T11:42:07","modified_gmt":"2024-05-06T02:42:07","slug":"%e3%80%90php%e5%85%a5%e9%96%80%e3%80%91%e9%85%8d%e5%88%97%e3%81%ae%e5%85%a8%e3%81%a6%e3%81%ae%e8%a6%81%e7%b4%a0%e3%82%92%e8%bf%94%e3%81%99array_map","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/22549","title":{"rendered":"\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30e9\u30a4\u30bf\u30fc\u306emuramatsu\u3067\u3059\u3002<\/p>\n<p>PHP\u3067\u306f\u914d\u5217\u306e\u8981\u7d20\u3092\u307e\u3068\u3081\u3066\u3042\u308b\u51e6\u7406\u304c\u3067\u304d\u308b\u306e\u3092\u3054\u5b58\u77e5\u3067\u3059\u304b\uff1f<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<\/p>\n<ul>\n<li><span style=\"color: #ff0000;\"><strong>array_map\u95a2\u6570\u3068\u306f<\/strong><\/span><\/li>\n<li><span style=\"color: #ff0000;\"><strong>array_map\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/strong><\/span><\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089\u3001<\/p>\n<ul>\n<li><span style=\"color: #ff0000;\"><strong>array_map\u95a2\u6570\u3067\u6587\u5b57\u5217\u3092\u5206\u5272\u3059\u308b<\/strong><\/span><\/li>\n<li><span style=\"color: #ff0000;\"><strong>\u30eb\u30fc\u30d7\u3067array_map\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b<\/strong><\/span><\/li>\n<li><span style=\"color: #ff0000;\"><strong>array_map\u95a2\u6570\u3067\u914d\u5217\u3092\u7d50\u5408\u3059\u308b<\/strong><\/span><\/li>\n<\/ul>\n<p>\u306a\u3069\u306e\u5fdc\u7528\u7684\u306a\u4f7f\u3044\u65b9\u306b\u95a2\u3057\u3066\u3082\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u305d\u3093\u306a<span style=\"color: #ff0000; background-color: #ffff99;\"><strong>array_map\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3064\u3044\u3066\u3001\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\uff01<\/strong><\/span><\/p>\n<h2>array_map\u95a2\u6570\u3068\u306f<\/h2>\n<p>\u914d\u5217\u306e\u8981\u7d20\u5168\u3066\u306b\u5bfe\u3057\u3066\u3001\u6307\u5b9a\u3057\u305f\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b\u5834\u5408\u306b<span style=\"color: #339966;\"><strong>array_map<\/strong><\/span>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u914d\u5217[1,2,3,4]\u306e\u305d\u308c\u305e\u308c\u306e\u8981\u7d20\u306b3\u3092\u639b\u3051\u308b\u3001\u3068\u8a00\u3046\u3053\u3068\u304c\u7c21\u5358\u306b\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306farray_map\u95a2\u6570\u304c<span style=\"color: #339966;\"><strong>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570<\/strong><\/span>\u3092\u4f7f\u3044\u3001\u305d\u308c\u305e\u308c\u306e\u8981\u7d20\u306b\u51e6\u7406\u3092\u884c\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3068\u306f\u3001<span style=\"color: #0000ff;\"><strong>\u95a2\u6570\u306e\u5f15\u6570\u306b\u5225\u306e\u95a2\u6570\u3092\u6e21\u3059<\/strong><\/span>\u3053\u3068\u3092\u547c\u3073\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u95a2\u6570A\u306e\u5f15\u6570\u306b\u95a2\u6570B\u3092\u6e21\u3057\u305f\u5834\u5408\u3001\u95a2\u6570A\u306e\u4e2d\u3067\u95a2\u6570B\u3067\u51e6\u7406\u3055\u308c\u305f\u7d50\u679c\u304c\u51e6\u7406\u3055\u308c\u3001\u95a2\u6570A\u306e\u7d50\u679c\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>array_map\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u5f15\u6570\u306b\u6307\u5b9a\u3057\u305f\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u304c\u547c\u3073\u51fa\u3055\u308c\u3001\u540c\u3058\u304f\u5f15\u6570\u306b\u6307\u5b9a\u3057\u305f\u914d\u5217\u306e<span style=\"color: #0000ff;\"><strong>\u5404\u8981\u7d20\u304c\u547c\u3073\u51fa\u3055\u308c\u305f\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306e\u4e2d\u3067\u51e6\u7406<\/strong><\/span>\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>array_map\u95a2\u6570\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u57fa\u672c\u69cb\u6587\uff1a<\/strong><\/p>\n<div style=\"padding: 10px 5px 10px 20px; margin-bottom: 20px; border: 2px solid #585858;\"><strong>array array_map( \u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u540d , $\u914d\u52171 [, $\u914d\u52172, $&#8230; ] )<\/strong><\/div>\n<p><strong>\u5f15\u6570\uff1a<\/strong><\/p>\n<p>\u7b2c\u4e00\u5f15\u6570\u306b<span style=\"color: #0000ff;\"><strong>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u540d<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u7b2c\u4e8c\u5f15\u6570\u304b\u3089\u306f\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306b\u9069\u7528\u3059\u308b<span style=\"color: #0000ff;\"><strong>\u914d\u5217\u540d\u30921\u3064\u53c8\u306f\u8907\u6570<\/strong><\/span>\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u8907\u6570\u306e\u914d\u5217\u3092\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001<span style=\"color: #339966;\"><strong>\u30ab\u30f3\u30de(,)<\/strong><\/span>\u3067\u533a\u5207\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u8fd4\u308a\u5024\uff1a<\/strong><\/p>\n<p>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u9069\u7528\u5f8c\u306e\u5168\u3066\u306e\u8981\u7d20\u3092\u542b\u3080\u914d\u5217\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<h2>array_map\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<p>\u3053\u3053\u3067\u306f<span style=\"color: #339966;\"><strong>array_map<\/strong><\/span>\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3068\u3057\u3066\u3001<strong>\u914d\u5217\u306e\u8981\u7d20\u304c\u6574\u6570\u30fb\u6587\u5b57\u5217<\/strong>\u306e\u5834\u5408\u3068\u3001<strong>\u914d\u5217\u304c\u8907\u6570<\/strong>\u3042\u308b\u5834\u5408\u3084\u3001<strong>\u9023\u60f3\u914d\u5217<\/strong>\u306e\u5834\u5408\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u914d\u5217\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u6e21\u3059<\/h3>\n<p>\u4ee5\u4e0b\u306barray_map\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001<span style=\"color: #0000ff;\"><strong>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306b\u914d\u5217\u306e\u3059\u3079\u3066\u306e\u8981\u7d20\u3092\u6e21\u3059<\/strong><\/span>\u65b9\u6cd5\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u914d\u5217\u306e\u8981\u7d20\u304c\u6574\u6570<\/strong>\u306e\u5834\u5408<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e01<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\n\/\/\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\r\nfunction valuecalc($n)\r\n{\r\n    return($n + $n);\r\n}\r\n\r\n$value_array = [100, 200, 300, 400, 500];\r\n\r\n\/\/array_map\u3092\u4f7f\u7528\u3057\u3066\u914d\u5217\u306e\u3059\u3079\u3066\u306e\u8981\u7d20\u3092\u8fd4\u3059\r\n$value_array2 = array_map('valuecalc', $value_array);\r\n\r\nprint_r($value_array2);\r\n\r\n?&gt;\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Array\r\n(\r\n    [0] =&gt; 200\r\n    [1] =&gt; 400\r\n    [2] =&gt; 600\r\n    [3] =&gt; 800\r\n    [4] =&gt; 1000\r\n)<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u8a2d\u5b9a\u3057\u305f\u914d\u5217$value_array\u306e\u8981\u7d201\u30641\u3064\u3092\u3001array_map\u95a2\u6570\u3092\u4f7f\u3063\u3066\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570valuecalc\u306b\u6e21\u3057\u3001\u8981\u7d20\u306e\u5024\u306b<span style=\"color: #0000ff;\"><strong>\u52a0\u7b97\u3057\u3066\u8fd4\u3059<\/strong><\/span>\u51e6\u7406\u3092\u884c\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u914d\u5217\u306e\u8981\u7d20\u304c\u6587\u5b57\u5217<\/strong>\u306e\u5834\u5408<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e02<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\n\/\/\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\r\nfunction valuestrs($str)\r\n{\r\n\treturn $str. '\u66dc\u65e5';\r\n}\r\n\r\n$week = ['\u6708', '\u706b', '\u6c34', '\u6728', '\u91d1', '\u571f', '\u65e5'];\r\n\r\n\/\/array_map\u3092\u4f7f\u7528\u3057\u3066\u914d\u5217\u306e\u3059\u3079\u3066\u306e\u8981\u7d20\u3092\u8fd4\u3059\r\n$weeks = array_map('valuestrs', $week);\r\n\r\nprint_r($weeks);\r\n\r\n?&gt;\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Array\r\n(\r\n    [0] =&gt; \u6708\u66dc\u65e5\r\n    [1] =&gt; \u706b\u66dc\u65e5\r\n    [2] =&gt; \u6c34\u66dc\u65e5\r\n    [3] =&gt; \u6728\u66dc\u65e5\r\n    [4] =&gt; \u91d1\u66dc\u65e5\r\n    [4] =&gt; \u571f\u66dc\u65e5\r\n    [4] =&gt; \u65e5\u66dc\u65e5\r\n)<\/pre>\n<p>\u914d\u5217\u306e\u8981\u7d20\u304c\u6587\u5b57\u5217\u306e\u5834\u5408\u3067\u3082\u3001\u6574\u6570\u306e\u6642\u3068\u540c\u3058\u304f<span style=\"color: #0000ff;\"><strong>\u914d\u5217\u306e\u8981\u7d20\u306b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u304c\u9069\u7528<\/strong><\/span>\u3055\u308c\u3066\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570valuestrs\u306f\u3001\u5f15\u6570\u3068\u2019\u66dc\u65e5\u2019\u3092\u7d50\u5408\u3055\u305b\u308b\u51e6\u7406\u3092\u3057\u3066array_map\u306b\u8fd4\u3057\u3001\u305d\u306e\u7d50\u679c\u3092\u4ee3\u5165\u3057\u305f$weeks\u3092print_r\u3067\u51fa\u529b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>\u8907\u6570\u306e\u914d\u5217\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u6e21\u3059<\/h3>\n<p>\u6b21\u306b\u914d\u5217\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306f\u3001\u3069\u306e\u3088\u3046\u306b\u306a\u308b\u306e\u304b\u3092\u30b5\u30f3\u30d7\u30eb\u3067\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\n\/\/\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\r\nfunction valuecalc($a, $b, $c)\r\n{\r\n\treturn($a + $b - $c);\r\n}\r\n\r\n$value_array1 = [100, 200, 300, 400, 500];\r\n$value_array2 = [500, 400, 300, 200, 100];\r\n$value_array3 = [10, 20, 30, 40, 50];\r\n\r\n\/\/array_map\u3092\u4f7f\u7528\u3057\u3066\u914d\u5217\u306e\u3059\u3079\u3066\u306e\u8981\u7d20\u3092\u8fd4\u3059\r\n$value_array4 = array_map('valuecalc', $value_array1, $value_array2, $value_array3);\r\n\r\nprint_r($value_array4);\r\n\r\n?&gt;\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Array\r\n(\r\n    [0] =&gt; 590\r\n    [1] =&gt; 580\r\n    [2] =&gt; 570\r\n    [3] =&gt; 560\r\n    [4] =&gt; 550\r\n)<\/pre>\n<p>\u914d\u5217\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306f\u3001array_map\u306e\u5f15\u6570\u3067\u914d\u5217\u3092<span style=\"color: #339966;\"><strong>\u30ab\u30f3\u30de(,)<\/strong><\/span>\u3067\u533a\u5207\u3063\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u3001<span style=\"color: #ff0000;\"><strong>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306e\u5f15\u6570\u306e\u9806\u756a\u304c\u305d\u306e\u307e\u307e\u9069\u5fdc<\/strong><\/span>\u3055\u308c\u308b\u306e\u3067array_map\u5185\u306e<span style=\"color: #ff0000;\"><strong>\u914d\u5217\u3092\u6307\u5b9a\u3059\u308b\u9806\u756a\u306b\u306f\u6ce8\u610f<\/strong><\/span>\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3082\u3057<strong>$value_array4 = array_map(&#8216;valuecalc&#8217;, $value_array1, $value_array3, $value_array2);<\/strong>\u306e\u3088\u3046\u306b\u3001<span style=\"color: #0000ff;\"><strong>$value_array2\u3068$value_array3\u306e\u9806\u756a\u3092\u5165\u308c\u66ff\u3048\u308b<\/strong><\/span>\u3068\u3001\u7d50\u679c\u306f<span style=\"color: #0000ff;\"><strong>500\u3001400\u3001300\u3001200\u3001100<\/strong><\/span>\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>\u9023\u60f3\u914d\u5217\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u6e21\u3059<\/h3>\n<p>\u9023\u60f3\u914d\u5217\u306e\u5834\u5408\u3067\u3082\u3001\u4f7f\u3044\u65b9\u306f\u914d\u5217\u306e\u6642\u3068\u307b\u3068\u3093\u3069\u5909\u308f\u308a\u307e\u305b\u3093\u304c\u30011\u3064\u306e\u9023\u60f3\u914d\u5217\u304b\u3001\u8907\u6570\u306e\u9023\u60f3\u914d\u5217\u304b\u3067\u3001\u5b9f\u884c\u7d50\u679c\u306e<span style=\"color: #0000ff;\"><strong>\u30ad\u30fc\u306e\u5024\u304c\u5909\u308f\u3063\u3066\u304d\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p><strong>1\u3064\u306e\u9023\u60f3\u914d\u5217<\/strong>\u306e\u5834\u5408<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e01<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\n\/\/\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\r\nfunction valuestrs($str)\r\n{\r\n\treturn $str. '\u66dc\u65e5';\r\n}\r\n\r\n$week = [\r\n         'Monday' =&gt; '\u6708',\r\n         'Tuesday' =&gt; '\u706b',\r\n         'Wednesday' =&gt; '\u6c34',\r\n         'Thursday' =&gt; '\u6728',\r\n         'Friday' =&gt; '\u91d1',\r\n         'Saturday' =&gt; '\u571f',\r\n         'Sunday' =&gt; '\u65e5'\r\n        ];\r\n\r\n\/\/array_map\u3092\u4f7f\u7528\u3057\u3066\u914d\u5217\u306e\u3059\u3079\u3066\u306e\u8981\u7d20\u3092\u8fd4\u3059\r\n$weeks = array_map('valuestrs', $week);\r\n\r\nprint_r($weeks);\r\n\r\n?&gt;\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Array ( \r\n       [Monday] =&gt; \u6708\u66dc\u65e5 \r\n       [Tuesday] =&gt; \u706b\u66dc\u65e5 \r\n       [Wednesday] =&gt; \u6c34\u66dc\u65e5 \r\n       [Thursday] =&gt; \u6728\u66dc\u65e5 \r\n       [Friday] =&gt; \u91d1\u66dc\u65e5 \r\n       [Saturday] =&gt; \u571f\u66dc\u65e5 \r\n       [Sunday] =&gt; \u65e5\u66dc\u65e5 \r\n)<\/pre>\n<p>\u9023\u60f3\u914d\u5217\u304c1\u3064\u306e\u5834\u5408\u3001<span style=\"color: #0000ff;\"><strong>\u30ad\u30fc\u3068\u306a\u308b\u90e8\u5206<\/strong><\/span>(\u3053\u3053\u3067\u306fMonday\u3084Tuesday\u306a\u3069)<span style=\"color: #0000ff;\"><strong>\u306f\u305d\u306e\u307e\u307e\u4fdd\u6301<\/strong><\/span>\u3055\u308c\u3001\u5024\u306e\u90e8\u5206\u306b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><strong>\u9023\u60f3\u914d\u5217\u304c\u8907\u6570<\/strong>\u306e\u5834\u5408<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e02<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\n\/\/\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\r\nfunction valuestrs($str1, $str2)\r\n{\r\n\treturn $str1. '='. $str2. '\u66dc\u65e5';\r\n}\r\n\r\n$weekE = [\r\n         'Monday' =&gt; 'Mon',\r\n         'Tuesday' =&gt; 'Tu',\r\n         'Wednesday' =&gt; 'Wed',\r\n         'Thursday' =&gt; 'Th',\r\n         'Friday' =&gt; 'Fri',\r\n         'Saturday' =&gt; 'Sat',\r\n         'Sunday' =&gt; 'Sun'\r\n        ];\r\n\r\n\r\n$weekJ = [\r\n          'Monday' =&gt; '\u6708',\r\n          'Tuesday' =&gt; '\u706b',\r\n          'Wednesday' =&gt; '\u6c34',\r\n          'Thursday' =&gt; '\u6728',\r\n          'Friday' =&gt; '\u91d1',\r\n          'Saturday' =&gt; '\u571f',\r\n          'Sunday' =&gt; '\u65e5'\r\n         ];\r\n\r\n\r\n\/\/array_map\u3092\u4f7f\u7528\u3057\u3066\u914d\u5217\u306e\u3059\u3079\u3066\u306e\u8981\u7d20\u3092\u8fd4\u3059\r\n$weeks = array_map('valuestrs', $weekE, $weekJ);\r\n\r\nprint_r($weeks);\r\n\r\n?&gt;\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Array ( \r\n       [0] =&gt; Mon=\u6708\u66dc\u65e5 \r\n       [1] =&gt; Tu=\u706b\u66dc\u65e5 \r\n       [2] =&gt; Wed=\u6c34\u66dc\u65e5 \r\n       [3] =&gt; Th=\u6728\u66dc\u65e5 \r\n       [4] =&gt; Fri=\u91d1\u66dc\u65e5 \r\n       [5] =&gt; Sat=\u571f\u66dc\u65e5 \r\n       [6] =&gt; Sun=\u65e5\u66dc\u65e5 \r\n)<\/pre>\n<p>\u9023\u60f3\u914d\u5217\u304c1\u3064\u306e\u5834\u5408\u306f\u30ad\u30fc\u90e8\u5206\u306f\u4fdd\u6301\u3055\u308c\u307e\u3057\u305f\u304c\u3001\u8907\u6570\u306e\u9023\u60f3\u914d\u5217\u306b\u306a\u308b\u3068<span style=\"color: #ff0000;\"><strong>\u30ad\u30fc\u306f\u4fdd\u6301\u3055\u308c\u306a\u304f\u306a\u308a\u3001\u756a\u53f7\u3067\u306e\u30ad\u30fc<\/strong><\/span>\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<h2>array_map\u95a2\u6570\u306e\u5fdc\u7528\u7684\u306a\u4f7f\u3044\u65b9<\/h2>\n<h3>array_map\u95a2\u6570\u3067\u914d\u5217\u3092\u7d50\u5408\u3059\u308b<\/h3>\n<p>array_map\u95a2\u6570\u306f\u7b2c\u4e00\u5f15\u6570\u306b<span style=\"color: #339966;\"><strong>NULL<\/strong><\/span>\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001<span style=\"color: #0000ff;\"><strong>\u914d\u5217\u3092\u7d50\u5408\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p><strong>\u57fa\u672c\u69cb\u6587\uff1a<\/strong><\/p>\n<div style=\"padding: 10px 5px 10px 20px; margin-bottom: 20px; border: 2px solid #585858;\"><strong>array_map(null, $\u914d\u5217\u540d1, $\u914d\u5217\u540d2[, $\u914d\u52173, $&#8230;])<\/strong><\/div>\n<p><strong>\u5f15\u6570\uff1a<\/strong><\/p>\n<p>\u7b2c\u4e00\u5f15\u6570\u306b<span style=\"color: #0000ff;\"><strong>NULL<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u7b2c\u4e8c\u5f15\u6570\u4ee5\u964d\u306b\u7d50\u5408\u3057\u305f\u3044<span style=\"color: #0000ff;\"><strong>\u914d\u5217\u540d\u3092\u30ab\u30f3\u30de(,)\u3067\u533a\u5207\u3063\u3066<\/strong><\/span>\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306barray_map\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066<span style=\"color: #0000ff;\"><strong>\u7b2c\u4e8c\u3001\u7b2c\u4e09\u5f15\u6570\u306b\u6307\u5b9a\u3057\u305f\u914d\u5217\u3092\u7d50\u5408\u3059\u308b\u65b9\u6cd5<\/strong><\/span>\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\n$fruits_key = ['apple', 'orange', 'melon'];\r\n$fruits_value = [\"100\u5186\", \"250\u5186\", \"300\u5186\"];\r\n\r\n$fruits = array_map(null, $fruits_key, $fruits_value);\r\nprint_r($fruits);\r\n\r\n?&gt;\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Array\r\n(\r\n    [0] =&gt; Array\r\n        (\r\n            [0] =&gt; apple\r\n            [1] =&gt; 100\u5186\r\n        )\r\n\r\n    [1] =&gt; Array\r\n        (\r\n            [0] =&gt; orange\r\n            [1] =&gt; 250\u5186\r\n        )\r\n\r\n    [2] =&gt; Array\r\n        (\r\n            [0] =&gt; melon\r\n            [1] =&gt; 300\u5186\r\n        )\r\n\r\n)<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u306e\u3068\u304a\u308a<span style=\"color: #0000ff;\"><strong>\u7b2c\u4e8c\u3001\u7b2c\u4e09\u5f15\u6570\u306b\u6307\u5b9a\u3057\u305f\u914d\u5217\u304c\u7d50\u5408\u3055\u308c\u3066\u3044\u308b<\/strong><\/span>\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u306d\uff01<\/p>\n<p>\u3055\u307e\u3056\u307e\u306a\u914d\u5217\u306e\u7d50\u5408\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/21685\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/04\/image2-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010PHP\u5165\u9580\u3011\u914d\u5217\u3092\u7d50\u5408\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u65b9\u6cd5\u307e\u3068\u3081\uff01<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <\/p>\n<h3>\u6587\u5b57\u5217\u3092\u5206\u5272\u3057\u3066\u5024\u3092\u7279\u5b9a\u306e\u95a2\u6570\u3067\u51e6\u7406\u3059\u308b<\/h3>\n<p>array_map\u95a2\u6570\u306f\u7b2c\u4e8c\u5f15\u6570\u306b\u914d\u5217\u3092\u6307\u5b9a\u3057\u307e\u3059\u304c\u3001<span style=\"color: #ff0000;\"><strong>\u914d\u5217\u3092\u8fd4\u3059\u95a2\u6570\u3092\u5f15\u6570\u3068\u3057\u3066\u6307\u5b9a\u3059\u308b<\/strong><\/span>\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>explode<\/strong><\/span>\u95a2\u6570\u306f\u3001\u6587\u5b57\u5217\u3092\u5206\u5272\u3059\u308b\u306e\u306b\u4f7f\u7528\u3055\u308c\u3001\u533a\u5207\u3063\u305f\u6587\u5b57\u5217\u3092\u914d\u5217\u306b\u3057\u3066\u8fd4\u3059\u51e6\u7406\u3092\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p><strong>\u57fa\u672c\u69cb\u6587\uff1a<\/strong><\/p>\n<div style=\"padding: 10px 5px 10px 20px; margin-bottom: 20px; border: 2px solid #585858;\"><strong>array_map (\u2018\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u540d\u2019, <\/strong><span style=\"color: #339966;\"><strong>explode(\u2018\u533a\u5207\u308a\u6587\u5b57\u2019, $\u533a\u5207\u308a\u305f\u3044\u6587\u5b57\u5217\u306e\u5165\u3063\u305f\u5909\u6570)<\/strong><\/span><strong>);<\/strong><\/div>\n<p><strong>\u5f15\u6570\uff1a<\/strong><\/p>\n<p>\u7b2c\u4e00\u5f15\u6570\u306f\u57fa\u672c\u3068\u540c\u3058\u304f<span style=\"color: #0000ff;\"><strong>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u540d<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u7b2c\u4e8c\u5f15\u6570\u306b\u6587\u5b57\u5217\u3092\u5206\u5272\u3059\u308b<span style=\"color: #339966;\"><strong>explode<\/strong><\/span>\u95a2\u6570\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>explode\u95a2\u6570\u306e\u7b2c\u4e00\u5f15\u6570\u306b\u306f<span style=\"color: #0000ff;\"><strong>\u533a\u5207\u308a\u6587\u5b57<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u3001\u7b2c\u4e8c\u5f15\u6570\u306b<span style=\"color: #0000ff;\"><strong>\u6587\u5b57\u5217\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u308b\u5909\u6570\u540d<\/strong><\/span>\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u65e9\u901f\u3001\u30ab\u30f3\u30de(,)\u533a\u5207\u308a\u306e\u6587\u5b57\u5217\u3092explode\u95a2\u6570\u306e\u5f15\u6570\u306b\u6307\u5b9a\u3057\u3066\u3001\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306b\u6e21\u3059\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\n\/\/\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\r\nfunction fruits_trim($n)\r\n{\r\n\techo 'How much is this '. $n. '? \r\n';\r\n}\r\n\r\n$fruits_str = 'apple,orange,banana,pineapple,mango';\r\n\r\n\/\/explode\u3067\u6587\u5b57\u5217\u3092\u30ab\u30f3\u30de\u533a\u5207\u308a\u3067\u5206\u5272\u3059\u308b\r\narray_map('fruits_trim', explode(',', $fruits_str));\r\n\r\n?&gt;\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">How much is this apple? \r\nHow much is this orange? \r\nHow much is this banana? \r\nHow much is this pineapple? \r\nHow much is this mango? \r\n<\/pre>\n<p>array_map\u95a2\u6570\u306e\u7b2c\u4e8c\u5f15\u6570\u306b<span style=\"color: #0000ff;\"><strong>explode\u3092\u6307\u5b9a\u3057\u3066\u6587\u5b57\u5217\u3092\u533a\u5207\u308a<\/strong><\/span>\u3001\u305d\u308c\u305e\u308c\u306e\u8981\u7d20(apple\u3084orange\u306a\u3069)\u306b<span style=\"color: #0000ff;\"><strong>\u5206\u3051\u3089\u308c\u305f\u5024\u3092\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570fruits_trim\u306b\u6e21\u3057\u3066\u3044\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u6e21\u3055\u308c\u305f\u305d\u308c\u305e\u308c\u306e\u5024(apple\u3084orange\u306a\u3069)\u304c\u95a2\u6570fruits_trim\u3067\u51e6\u7406\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>explode\u95a2\u6570\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/44335\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/02\/b738203921ed88f3e56aca2e767135af-150x85.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010PHP explode\u3011\u6587\u5b57\u5217\u3092\u5206\u5272\u3059\u308b\u65b9\u6cd5\u30923\u3064\u306e\u30dd\u30a4\u30f3\u30c8\u3067\u7c21\u5358\u7406\u89e3<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <\/p>\n<h3>\u30eb\u30fc\u30d7\u306e\u4e2d\u3067array_map\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b<\/h3>\n<p><span style=\"color: #339966;\"><strong>foreach<\/strong><\/span>\u6587\u3092\u4f7f\u7528\u3057\u3066\u3001<span style=\"color: #0000ff;\"><strong>\u30eb\u30fc\u30d7\u306e\u4e2d\u3067array_map\u95a2\u6570\u3092\u4f7f\u7528<\/strong><\/span>\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>foreach\u5206\u306e\u4e2d\u3067array_map\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001<span style=\"color: #0000ff;\"><strong>\u914d\u5217\u306e\u5168\u8981\u7d20\u3092\u305d\u308c\u305e\u308c\u8981\u7d20\u6570\u5206\u56de\u3057\u3066<\/strong><\/span>\u3001\u305d\u306e\u5024\u3092<span style=\"color: #0000ff;\"><strong>\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306b\u6e21\u3057\u3066\u51e6\u7406<\/strong><\/span>\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p><strong>\u57fa\u672c\u69cb\u6587\uff1a<\/strong><\/p>\n<div style=\"padding: 10px 5px 10px 20px; margin-bottom: 20px; border: 2px solid #585858;\"><span style=\"color: #339966;\"><strong>foreach ($\u914d\u5217\u540d as $value) {<\/strong><\/span><br \/>\n<strong>$\u5909\u6570 = array_map(\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570, $\u914d\u5217\u540d);<br \/>\n\u51e6\u7406<\/strong><br \/>\n<span style=\"color: #339966;\"><strong>}<\/strong><\/span><\/div>\n<p>\u30b5\u30f3\u30d7\u30eb\u30673\u3064\u306e\u8981\u7d20\u3092\u6301\u3063\u305f\u914d\u5217\u306e\u5024\u306e\u5909\u5316\u3092\u307f\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0<\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\r\n\r\n\/\/\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\r\nfunction valuecalc($n)\r\n{\r\n    return($n + $n);\r\n}\r\n\r\n$value_array = [10, 20, 30];\r\n\r\nforeach($value_array as $value){\r\n\r\n  $value_array = array_map('valuecalc', $value_array);\r\n  print_r($value_array);\r\n\r\n}\r\n\r\n?&gt;\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Array\r\n(\r\n    [0] =&gt; 20\r\n    [1] =&gt; 40\r\n    [2] =&gt; 60\r\n)\r\nArray\r\n(\r\n    [0] =&gt; 40\r\n    [1] =&gt; 80\r\n    [2] =&gt; 120\r\n)\r\nArray\r\n(\r\n    [0] =&gt; 80\r\n    [1] =&gt; 160\r\n    [2] =&gt; 240\r\n)<\/pre>\n<p>foreach\u6587\u306e\u4e2d\u306b\u66f8\u304b\u308c\u305farray_map\u306f\u914d\u5217\u306e\u5168\u8981\u7d20\u3092\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306b\u6e21\u3057\u3066\u3001<span style=\"color: #0000ff;\"><strong>\u6f14\u7b97\u7d50\u679c\u3092\u8fd4\u3057\u3066\u3044\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u8fd4\u3063\u3066\u304d\u305f\u305d\u308c\u305e\u308c3\u3064\u306e\u7d50\u679c(20,40,60)\u306f$value_array\u306b\u8fd4\u3055\u308c\u3001<span style=\"color: #0000ff;\"><strong>\u305d\u306e\u5024\u306e\u307e\u307e2\u56de\u76ee\u306e\u30eb\u30fc\u30d7<\/strong><\/span>\u306b\u306a\u308aarray_map\u3067\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306b\u6e21\u3057\u30663\u56de\u76ee\u306e\u30eb\u30fc\u30d7\u306b\u306a\u308a\u3001\u3001\u3001\u306e<span style=\"color: #0000ff;\"><strong>\u7e70\u308a\u8fd4\u3057\u304c\u914d\u5217\u306e\u8981\u7d20\u6570\u5206\u884c\u308f\u308c\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>\u5b9f\u884c\u7d50\u679c\u306e\u3068\u304a\u308a\u3001\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306b\u914d\u5217\u3092\u6e21\u3059\u3054\u3068\u306b\u5024\u304c\u52a0\u7b97\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u308f\u304b\u308a\u307e\u3059\u306d\u3002<\/p>\n<p>foreach\u6587\u306b\u3064\u3044\u3066\u306e\u8a73\u7d30\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/47603\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/04\/No.4-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010\u3084\u3055\u3057\u3044PHP\u3011foreach\u6587\u306e\u57fa\u790e\u3092\u77e5\u3063\u3066\u304b\u3093\u305f\u3093\u306a\u5fdc\u7528\u3092\u8a66\u3057\u3066\u307f\u308b<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            <\/p>\n<h2>array\u95a2\u6570\u306b\u3064\u3044\u3066\u3082\u3063\u3068\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u3078<\/h2>\n<p>\u914d\u5217\u3092\u64cd\u4f5c\u3059\u308b\u3055\u307e\u3056\u307e\u306a\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/25512\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/06\/image10-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3011PHP\u306e\u3088\u304f\u4f7f\u3046\u914d\u5217\u64cd\u4f5c\u306e\u95a2\u6570\u307e\u3068\u3081(array)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<p>\u4e3b\u306b\u4ee5\u4e0b\u306e\u914d\u5217\u95a2\u6570\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\uff01<\/p>\n<ul>\n<li>array_sum\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/li>\n<li>array_unique\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/li>\n<li>array_values\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/li>\n<li>array_keys\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/li>\n<li>array_filter\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/li>\n<li>array_map\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/li>\n<li>array_push\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/li>\n<li>array_key_exists\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/li>\n<li>array_pad\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/li>\n<li>implode\u95a2\u6570\u306e\u4f7f\u3044\u65b9<\/li>\n<li>\u914d\u5217\u306e\u524a\u9664\u65b9\u6cd5<\/li>\n<li>\u914d\u5217\u306e\u691c\u7d22\u65b9\u6cd5<\/li>\n<li>\u3088\u304f\u4f7f\u7528\u3059\u308b\u914d\u5217\u64cd\u4f5c<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u3053\u3067\u306farray_map\u95a2\u6570\u306b\u3064\u3044\u3066\u3001<\/p>\n<ul>\n<li><strong>array_map\u95a2\u6570\u3068\u306f<\/strong><\/li>\n<li><strong>array_map\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/strong><\/li>\n<li><strong>\u914d\u5217\u3092\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306b\u6e21\u3059<\/strong><\/li>\n<li><strong>array_map\u95a2\u6570\u3067\u6587\u5b57\u5217\u3092\u5206\u5272\u3059\u308b<\/strong><\/li>\n<li><strong>\u30eb\u30fc\u30d7\u3067array_map\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b<\/strong><\/li>\n<li><strong>array_map\u95a2\u6570\u3067\u914d\u5217\u3092\u7d50\u5408\u3059\u308b<\/strong><\/li>\n<\/ul>\n<p>\u306a\u3069\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>array_map\u95a2\u6570\u306a\u3069\u306e\u914d\u5217\u3092\u6271\u3046\u95a2\u6570\u306f\u5b9f\u969b\u306e\u958b\u767a\u3067\u3082\u3088\u304f\u4f7f\u7528\u3057\u307e\u3059\u306e\u3067\u3001\u3053\u306e\u6a5f\u4f1a\u306b\u305c\u3072\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/strong><\/span><\/p>\n<p>\u3082\u3057array_map\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u3089\u3001\u3053\u306e\u8a18\u4e8b\u3092\u601d\u3044\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30e9\u30a4\u30bf\u30fc\u306emuramatsu\u3067\u3059\u3002 PHP\u3067\u306f\u914d\u5217\u306e\u8981\u7d20\u3092\u307e\u3068\u3081\u3066\u3042\u308b\u51e6\u7406\u304c\u3067\u304d\u308b\u306e\u3092\u3054\u5b58\u77e5\u3067\u3059\u304b\uff1f \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001 array_map\u95a2\u6570\u3068\u306f array_map\u95a2\u6570\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9 \u3068\u3044\u3046\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":60014,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2348],"tags":[38],"class_list":["post-22549","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php-study","tag-php"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/22549\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/22549\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-05T06:37:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:42:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/array_map.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b\",\"datePublished\":\"2017-05-05T06:37:32+00:00\",\"dateModified\":\"2024-05-06T02:42:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549\"},\"wordCount\":193,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/array_map.jpg\",\"keywords\":[\"PHP\"],\"articleSection\":[\"PHP\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549\",\"name\":\"\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/array_map.jpg\",\"datePublished\":\"2017-05-05T06:37:32+00:00\",\"dateModified\":\"2024-05-06T02:42:07+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/array_map.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/array_map.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/22549#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/22549","og_locale":"ja_JP","og_type":"article","og_title":"\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/22549","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2017-05-05T06:37:32+00:00","article_modified_time":"2024-05-06T02:42:07+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/array_map.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/22549#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/22549"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b","datePublished":"2017-05-05T06:37:32+00:00","dateModified":"2024-05-06T02:42:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/22549"},"wordCount":193,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/22549#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/array_map.jpg","keywords":["PHP"],"articleSection":["PHP\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/22549","url":"https:\/\/www.sejuku.net\/blog\/22549","name":"\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/22549#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/22549#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/array_map.jpg","datePublished":"2017-05-05T06:37:32+00:00","dateModified":"2024-05-06T02:42:07+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/22549#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/22549"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/22549#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/array_map.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/array_map.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/22549#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010PHP\u5165\u9580\u3011array_map\u3067\u914d\u5217\u306e\u5168\u8981\u7d20\u306b\u7279\u5b9a\u306e\u95a2\u6570\u3092\u9069\u7528\u3055\u305b\u308b"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/22549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=22549"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/22549\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/60014"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=22549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=22549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=22549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}