{"id":2384,"date":"2024-09-17T12:00:08","date_gmt":"2024-09-17T03:00:08","guid":{"rendered":"https:\/\/abridge-co.jp\/wp\/?p=2384"},"modified":"2024-09-17T11:19:54","modified_gmt":"2024-09-17T02:19:54","slug":"php%e3%81%a7%e3%81%ae%e9%85%8d%e5%88%97%e3%81%ae%e5%8f%96%e3%82%8a%e6%89%b1%e3%81%84%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"https:\/\/abridge-co.jp\/wp\/2024\/09\/17\/php%e3%81%a7%e3%81%ae%e9%85%8d%e5%88%97%e3%81%ae%e5%8f%96%e3%82%8a%e6%89%b1%e3%81%84%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\/","title":{"rendered":"PHP\u3067\u306e\u914d\u5217\u306e\u53d6\u308a\u6271\u3044\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>\u3010PHP\u3067\u306e\u914d\u5217\u306e\u53d6\u308a\u6271\u3044\u306b\u3064\u3044\u3066\u3011<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1259\" src=\"https:\/\/abridge-co.jp\/wp\/wp-content\/uploads\/2022\/01\/new-php-logo.png\" alt=\"\" width=\"200\" height=\"106\" \/><\/p>\n<p>\u6700\u8fd1\u3001\u914d\u5217\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u306a\u3093\u3068\u306a\u304f\u3067\u5b9f\u88c5\u3057\u3066\u308b\u306a\u3068\u601d\u3063\u305f\u306e\u3067\u3001\u3061\u3083\u3093\u3068\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u307e\u3068\u3081\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u76ee\u6b21<br \/>\n\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015<br \/>\n1 \u914d\u5217<br \/>\n2 \u9023\u60f3\u914d\u5217\uff08\u591a\u6b21\u5143\u9023\u60f3\u914d\u5217\uff09<br \/>\n3 \u6bd4\u8f03\u8868<br \/>\n4 \u307e\u3068\u3081<br \/>\n\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015<\/p>\n<p>1.\u914d\u5217<br \/>\n\u30fb\u6dfb\u3048\u5b57\u304c\u6570\u5b57<br \/>\n\u30fb0\u304b\u3089\u59cb\u307e\u3063\u3066\u8981\u7d20\u304c\u5897\u3048\u308b\u6bce\u306b\u6dfb\u3048\u5b57\u306e\u6570\u5b57\u30821\u5897\u3048\u308b<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\"># \u521d\u671f\u5316<br \/>\n$\u914d\u5217\u540d = [\u50241, \u50242, \u50243];<\/div><\/div>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\"># \u8981\u7d20\u306e\u8ffd\u52a0<br \/>\n$\u914d\u5217\u540d[] = \u5024;<\/div><\/div>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\"># \u8981\u7d20\u306b\u30a2\u30af\u30bb\u30b9<br \/>\n$\u914d\u5217\u540d[\u30ad\u30fc\u756a\u53f7];<\/div><\/div>\n<p>2.\u9023\u60f3\u914d\u5217\uff08\u591a\u6b21\u5143\u9023\u60f3\u914d\u5217\uff09<br \/>\n\u30fb\u6dfb\u3048\u5b57\u3092\u81ea\u7531\u306b\u6c7a\u3081\u3089\u308c\u308b\u914d\u5217<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\"># \u521d\u671f\u5316<br \/>\n$\u914d\u5217\u540d = [<br \/>\n\u30ad\u30fc1 =&amp;gt; \u50241,<br \/>\n\u30ad\u30fc2 =&amp;gt; \u50242 ...<br \/>\n];<\/div><\/div>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\"># \u8981\u7d20\u306e\u8ffd\u52a0<br \/>\n$\u914d\u5217\u540d[\u30ad\u30fc\u540d] = \u5024;<\/div><\/div>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;width:435px;\"><div class=\"text codecolorer\"># \u8981\u7d20\u306b\u30a2\u30af\u30bb\u30b9<br \/>\n$\u914d\u5217\u540d[\u30ad\u30fc\u540d];<\/div><\/div>\n<p>3.\u6bd4\u8f03\u8868<br \/>\n\u30fb\u305d\u308c\u305e\u308c\u306e\u52d5\u304d\u3092\u8868\u306b\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<table>\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">\u30b3\u30fc\u30c9<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u914d\u5217<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u9023\u60f3\u914d\u5217<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u591a\u6b21\u5143\u9023\u60f3\u914d\u5217<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">in_array<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u3007<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u3007<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u3007<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">array_key_exists<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u3007<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u3007<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u3007<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-weight: 400;\">array_merge<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u3007<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u3007<\/span><\/td>\n<td><span style=\"font-weight: 400;\">\u3007<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>4.\u307e\u3068\u3081<br \/>\n\u914d\u5217\u306f\u3061\u3083\u3093\u3068\u7406\u89e3\u3057\u3066\u4f7f\u3046\u306b\u8d8a\u3057\u305f\u3053\u3068\u306f\u306a\u3044\u3067\u3059\u306d\u3002<br \/>\n\u4ee5\u4e0a\u3067\u3001\u300cPHP\u3067\u306e\u914d\u5217\u306e\u53d6\u308a\u6271\u3044\u306b\u3064\u3044\u3066\u300d\u3067\u3057\u305f\uff5e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010PHP\u3067\u306e\u914d\u5217\u306e\u53d6\u308a\u6271\u3044\u306b\u3064\u3044\u3066\u3011 \u6700\u8fd1\u3001\u914d\u5217\u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u304d\u306b\u306a\u3093\u3068\u306a\u304f\u3067\u5b9f\u88c5\u3057\u3066\u308b\u306a\u3068\u601d\u3063\u305f\u306e\u3067\u3001\u3061\u3083\u3093\u3068\u7406\u89e3\u3059\u308b\u305f\u3081\u306b\u307e\u3068\u3081\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002 \u76ee\u6b21 \u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015\u2015  &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/abridge-co.jp\/wp\/2024\/09\/17\/php%e3%81%a7%e3%81%ae%e9%85%8d%e5%88%97%e3%81%ae%e5%8f%96%e3%82%8a%e6%89%b1%e3%81%84%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;PHP\u3067\u306e\u914d\u5217\u306e\u53d6\u308a\u6271\u3044\u306b\u3064\u3044\u3066&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2384","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/abridge-co.jp\/wp\/wp-json\/wp\/v2\/posts\/2384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/abridge-co.jp\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/abridge-co.jp\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/abridge-co.jp\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/abridge-co.jp\/wp\/wp-json\/wp\/v2\/comments?post=2384"}],"version-history":[{"count":3,"href":"https:\/\/abridge-co.jp\/wp\/wp-json\/wp\/v2\/posts\/2384\/revisions"}],"predecessor-version":[{"id":2387,"href":"https:\/\/abridge-co.jp\/wp\/wp-json\/wp\/v2\/posts\/2384\/revisions\/2387"}],"wp:attachment":[{"href":"https:\/\/abridge-co.jp\/wp\/wp-json\/wp\/v2\/media?parent=2384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/abridge-co.jp\/wp\/wp-json\/wp\/v2\/categories?post=2384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/abridge-co.jp\/wp\/wp-json\/wp\/v2\/tags?post=2384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}