{"id":1643,"date":"2020-05-19T23:00:05","date_gmt":"2020-05-19T14:00:05","guid":{"rendered":"https:\/\/www.programming-se.com\/?p=1643"},"modified":"2021-03-08T04:22:00","modified_gmt":"2021-03-07T19:22:00","slug":"php-%e6%9d%a1%e4%bb%b6%e5%88%86%e5%b2%90","status":"publish","type":"post","link":"https:\/\/www.programming-se.com\/?p=1643","title":{"rendered":"PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u3092\u3082\u3068\u306b\u51e6\u7406\u3092\u5206\u5c90\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u3001PHP\u306e\u6761\u4ef6\u5206\u5c90\u3067\u5229\u7528\u3059\u308b if elseif else switch \u306e\u89e3\u8aac\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">if \u547d\u4ee4\u6587<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>if<\/strong>\u306f\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u304c<strong><span class=\"has-inline-color has-vivid-cyan-blue-color\">true<\/span><\/strong>\u304b<strong><span class=\"has-inline-color has-vivid-red-color\">false<\/span><\/strong>\u304b\u306b\u3088\u308a\u51e6\u7406\u3092\u5206\u5c90\u3057\u307e\u3059\u3002<br>\u65e5\u672c\u8a9e\u3067\u51e6\u7406\u3092\u8a18\u8ff0\u3059\u308b\u3068<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3082\u3057\u25a0\u25a0\u3060\u3063\u305f\u3089\u3001\u3007\u3007\u3001\u25a0\u25a0\u51fa\u306a\u3044\u5834\u5408\u306f\u25b2\u25b2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PHP\u3067\u8a18\u8ff0\u3059\u308b\u3068<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"\u6761\u4ef6\u5206\u5c90\">&lt;?php\n$test = '\u25a0\u25a0\u25a0';\n\nif( $test == '\u25a0\u25a0\u25a0' ){\n echo '\u25cb\u25cb\u25cb';\n}\nelse{\n echo '\u25b2\u25b2\u25b2';\n}\n?&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">$test \u304c \u25a0\u25a0\u25a0 \u3067\u3042\u308b\u304b\u3069\u3046\u304b\u306b\u3088\u308a\u7d50\u679c\u304c\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">if \u301c elseif \u547d\u4ee4\u6587<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>if<\/strong>\u547d\u4ee4\u6587\u306e\u7d50\u679c\u306f2\u7a2e\u985e\u306e\u3069\u3061\u3089\u304b\u3067\u3057\u305f\u304c<strong>elseif<\/strong>\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u8907\u6570\u306e\u5206\u5c90\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"\u6761\u4ef6\u5206\u5c90\">&lt;?php\n$test = '\u25a0\u25a0\u25a0';\n\nif( $test == '\u25a0\u25a0\u25a0' ){\n echo '\u25cb\u25cb\u25cb';\n}\nelseif( $test == '\u25a0\u25a0' ){\n echo '\u25cb\u25cb';\n}\nelse{\n echo '\u25b2\u25b2\u25b2';\n}\n?&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>elseif <\/strong>\u306f\u4f55\u5ea6\u3067\u3082\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<br>\u6700\u7d42 <strong>else<\/strong> \u3067\u3069\u306e\u6761\u4ef6\u306b\u3082\u5f53\u3066\u306f\u307e\u3089\u306a\u3044\u5834\u5408\u306e\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">elseif \u306e\u6ce8\u610f\u70b9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0b\u8a18\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306e<strong>elseif<\/strong>\u306f\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"elseif\">&lt;?php\n$num = 30;\n\nif( $num &gt;= 10 ){\n echo '$num\u306f10\u4ee5\u4e0a\u3067\u3059\u3002';\n}\nelseif( $num &gt;= 20 ){\n echo '$num\u306f20\u4ee5\u4e0a\u3067\u3059\u3002';\n}\n\n?&gt;<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b63\u3057\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"elseif\">&lt;?php\n$num = 30;\n\nif( $num &gt;= 20 ){\n echo '$num\u306f20\u4ee5\u4e0a\u3067\u3059\u3002';\n}\nelseif( $num &gt;= 10 ){\n echo '$num\u306f10\u4ee5\u4e0a\u3067\u3059\u3002';\n}\n\n?&gt;<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">switch \u547d\u4ee4\u6587<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">PHP\u306e\u6761\u4ef6\u5206\u5c90\u306b\u306fif\u4ee5\u5916\u306b\u3082\u300c<strong>switch<\/strong>\u300d\u304c\u3042\u308a\u307e\u3059\u3002<br><strong>switch<\/strong>\u306e\u8a18\u8ff0\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u3001<strong>switch<\/strong>\u4ee5\u5916\u306b\u300ccase\u300d\u300cdefault\u300d\u300cbreak\u300d\u3092\u5229\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"switch\u547d\u4ee4\u6587\">switch (\u5f0f){\n case \u50241:\n \u5f0f\u304c\u50241\u3068\u7b49\u3057\u3044\u6642\u306e\u51e6\u7406;\n break;\n case \u50242:\n \u5f0f\u304c\u50242\u3068\u7b49\u3057\u3044\u6642\u306e\u51e6\u74061;\n \u5f0f\u304c\u50242\u3068\u7b49\u3057\u3044\u6642\u306e\u51e6\u74062; \/\/ \u8907\u6570\u306e\u51e6\u7406\u3092\u8a18\u8ff0\u3067\u304d\u308b\n break;\n default:\n \u5f0f\u304c\u3044\u305a\u308c\u306e\u5024\u306b\u3082\u7b49\u3057\u304f\u306a\u3044\u6642\u306e\u51e6\u7406;\n}<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">if\u6587\u3067\u66f8\u304b\u308c\u305f\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092<strong>switch<\/strong>\u6587\u3067\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"if\u6587\">&lt;?php\n\n$name = '\u9234\u6728';\n\nif( $name == '\u5c71\u7530' ){\n echo '\u540d\u524d\u306f\u5c71\u7530\u3067\u3059\u3002';\n}\nelseif( $name == '\u4f50\u85e4' )\n echo '\u540d\u524d\u306f\u4f50\u85e4\u3067\u3059\u3002';\n}\nelseif( $name == '\u9234\u6728' )\n echo '\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002';\n}\nelse{\n echo '\u672a\u5165\u529b\u3067\u3059\u3002';\n}\n\n\/\/ \u7d50\u679c\n\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002<\/pre><\/div>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"switch\u6587\">&lt;?php\n\n$name = '\u9234\u6728';\n\nswitch ( $name ){\n case '\u5c71\u7530':\n echo '\u540d\u524d\u306f\u5c71\u7530\u3067\u3059\u3002';\n break;\n case '\u4f50\u85e4':\n echo '\u540d\u524d\u306f\u4f50\u85e4\u3067\u3059\u3002';\n break;\n case '\u9234\u6728':\n echo '\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002';\n break;\n default:\n echo '\u672a\u5165\u529b\u3067\u3059\u3002';\n}\n\n\/\/ \u7d50\u679c\n\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u8907\u6570\u306e\u6761\u4ef6\u306b\u5f53\u3066\u306f\u307e\u308b\u5834\u5408<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>switch<\/strong>\u6587\u3068<strong>if<\/strong>\u6587\u306e\u5927\u304d\u306a\u9055\u3044\u306f\u3001\u8907\u6570\u306e\u6761\u4ef6\u306b\u5f53\u3066\u306f\u307e\u3063\u305f\u5834\u5408\u306e\u3075\u308b\u307e\u3044\u3067\u3059\u3002<br>\u4ee5\u4e0b\u4f8b\u3092\u3042\u3052\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">if\u6587\u3067\u306f\u300c$name == &#8216;\u9234\u6728&#8217; \u300d\u306e\u6761\u4ef6\u306b\u5f53\u3066\u306f\u307e\u308b\u5185\u5bb9\u306e\u8a18\u8ff0\u304c2\u56de\u3042\u3063\u3066\u3082\u6700\u521d\u306b\u30d2\u30c3\u30c8\u3057\u305f\u6761\u4ef6\u3067\u51e6\u7406\u304c\u884c\u308f\u308c\u308b\u3068\u3001\u5f8c\u306e\u51e6\u7406\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002<br>\u305d\u306e\u305f\u3081\u300c\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002\u305d\u306e2\u300d\u306e\u7d50\u679c\u306f\u6c38\u4e45\u306b\u51fa\u529b\u3055\u308c\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"if\u6587\">&lt;?php\n\n$name = '\u9234\u6728';\n\nif( $name == '\u5c71\u7530' ){\n echo '\u540d\u524d\u306f\u5c71\u7530\u3067\u3059\u3002';\n}\nelseif( $name == '\u4f50\u85e4' )\n echo '\u540d\u524d\u306f\u4f50\u85e4\u3067\u3059\u3002';\n}\nelseif( $name == '\u9234\u6728' )\n echo '\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002';\n}\nelseif( $name == '\u9234\u6728' )\n echo '\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002\u305d\u306e2';\n}\nelse{\n echo '\u672a\u5165\u529b\u3067\u3059\u3002';\n}\n\n\/\/ \u7d50\u679c\n\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3092<strong>switch<\/strong>\u6587\u3067\u8a18\u8ff0\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:default decode:true \" title=\"switch\u6587\">&lt;?php\n\n$name = '\u9234\u6728';\n\nswitch ( $name ){\n case '\u5c71\u7530':\n echo '\u540d\u524d\u306f\u5c71\u7530\u3067\u3059\u3002';\n case '\u4f50\u85e4':\n echo '\u540d\u524d\u306f\u4f50\u85e4\u3067\u3059\u3002';\n case '\u9234\u6728':\n echo '\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002';\n case '\u9234\u6728':\n echo '\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002\u305d\u306e2';\n default:\n echo '\u672a\u5165\u529b\u3067\u3059\u3002';\n}\n\n\/\/ \u7d50\u679c\n\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002\u540d\u524d\u306f\u9234\u6728\u3067\u3059\u3002\u305d\u306e2<\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>switch<\/strong>\u6587\u3067\u306f\u300cbreak\u300d\u3092\u8a18\u8ff0\u3057\u306a\u3044\u3053\u3068\u3067\u5168\u3066\u306ecase\u306e\u6761\u4ef6\u3092\u53c2\u7167\u3057\u3001\u6761\u4ef6\u304c\u5408\u3048\u3070\u5168\u3066\u306e\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<br>\u4e0a\u8a18\u306e<strong>switch<\/strong>\u6587\u306e\u300cbreak\u300d\u3092\u8a18\u8ff0\u3059\u308b\u3068\u524d\u8ff0\u306eif\u6587\u3068\u540c\u69d8\u306e\u7d50\u679c\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">if elseif else switch \u306e\u307e\u3068\u3081<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6761\u4ef6\u5206\u5c90\u300c if elseif else switch \u300d\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u3059\u308b\u4e0a\u3067\u3001\u5fc5\u305a\u5229\u7528\u3059\u308b\u69cb\u6587\u3067\u3059\u306e\u3067\u5fc5\u305a\u899a\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div id=\"rinkerid1645\" class=\"yyi-rinker-contents yyi-rinker-postid-1645 yyi-rinker-img-m yyi-rinker-catid-17 \">\n\t<div class=\"yyi-rinker-box\">\n\t\t<div class=\"yyi-rinker-image\">\n\t\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=1893966&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FPHP%25E3%2583%2597%25E3%2583%25AD%25E3%2582%25B0%25E3%2583%25A9%25E3%2583%259F%25E3%2583%25B3%25E3%2582%25B0%25E6%2595%2599%25E5%25AE%25A4%25E3%2580%2580%25E7%2592%25B0%25E5%25A2%2583%25E3%2581%25A5%25E3%2581%258F%25E3%2582%258A%25E3%2581%258B%25E3%2582%2589Web%25E3%2582%25A2%25E3%2583%2597%25E3%2583%25AA%25E3%2581%258C%25E5%258B%2595%25E3%2581%258F%25E3%2581%25BE%25E3%2581%25A7%25E3%2581%25AE2%25E6%2597%25A5%25E9%2596%2593%25E3%2582%25B3%25E3%2583%25BC%25E3%2582%25B9%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\" class=\"yyi-rinker-tracking\" data-click-tracking=\"rakuten_img 1645 \u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]\" data-vars-click-id=\"rakuten_img 1645 \u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]\"><img alt="" decoding=\"async\" data-src=\"https:\/\/thumbnail.image.rakuten.co.jp\/@0_mall\/rakutenkobo-ebooks\/cabinet\/3980\/2000003823980.jpg?_ex=128x128\" width=\"128\" height=\"128\" class=\"yyi-rinker-main-img lazyload\" style=\"--smush-placeholder-width: 128px; --smush-placeholder-aspect-ratio: 128\/128;border: none;\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\"><noscript><img decoding=\"async\" data-src=\"https:\/\/thumbnail.image.rakuten.co.jp\/@0_mall\/rakutenkobo-ebooks\/cabinet\/3980\/2000003823980.jpg?_ex=128x128\" width=\"128\" height=\"128\" class=\"yyi-rinker-main-img lazyload\" style=\"--smush-placeholder-width: 128px; --smush-placeholder-aspect-ratio: 128\/128;border: none;\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\"></noscript><\/a><img alt="" class="ya_lozad" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=1893966&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\"><noscript><img decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=1893966&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\"></noscript>\t\t\t\t\t<\/div>\n\t\t<div class=\"yyi-rinker-info\">\n\t\t\t<div class=\"yyi-rinker-title\">\n\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=1893966&#038;p_id=54&#038;pc_id=54&#038;pl_id=616&#038;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FPHP%25E3%2583%2597%25E3%2583%25AD%25E3%2582%25B0%25E3%2583%25A9%25E3%2583%259F%25E3%2583%25B3%25E3%2582%25B0%25E6%2595%2599%25E5%25AE%25A4%25E3%2580%2580%25E7%2592%25B0%25E5%25A2%2583%25E3%2581%25A5%25E3%2581%258F%25E3%2582%258A%25E3%2581%258B%25E3%2582%2589Web%25E3%2582%25A2%25E3%2583%2597%25E3%2583%25AA%25E3%2581%258C%25E5%258B%2595%25E3%2581%258F%25E3%2581%25BE%25E3%2581%25A7%25E3%2581%25AE2%25E6%2597%25A5%25E9%2596%2593%25E3%2582%25B3%25E3%2583%25BC%25E3%2582%25B9%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\" class=\"yyi-rinker-tracking\" data-click-tracking=\"rakuten_title 1645 \u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]\" data-vars-amp-click-id=\"rakuten_title 1645 \u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]\" >\u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]<\/a><img alt="" class="ya_lozad" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=1893966&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\"><noscript><img decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=1893966&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\"></noscript>\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"yyi-rinker-detail\">\n\t\t\t\t\t\t\t<div class=\"credit-box\">created by&nbsp;<a href=\"https:\/\/oyakosodate.com\/rinker\/\" rel=\"nofollow noopener\" target=\"_blank\" >Rinker<\/a><\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">\n\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"free-text\">\n\t\t\t\t\t\u6642\u9593\u304c\u306a\u304f\u305f\u3063\u3066\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u5b66\u3079\u307e\u3059\u3002\r\n\u5b66\u7fd2\u3092\u8e8a\u8e87\u3057\u3066\u3044\u305f\u4eba\u305f\u3061\u306b\u3001\u65e2\u5b58\u306e\u5165\u9580\u66f8\u3067\u632b\u6298\u3057\u305f\u4eba\u305f\u3061\u306b\u3001\u300c\u3053\u308c\u306a\u3089\u3067\u304d\u308b\uff01\u300d\u306e\u6700\u77ed\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0\u3092\u3001\u571f\u65e5\u306e14\u6642\u9593\u3067\u63d0\u4f9b\u3002\r\n\u307e\u3063\u305f\u304f\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u304c\u7c21\u5358\u306aWeb\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30a2\u30d7\u30ea\u3092\u69cb\u7bc9\u3067\u304d\u308b\u307e\u3067\u306e\u6210\u9577\u30b3\u30fc\u30b9\u3092\u3001\u624b\u53d6\u308a\u8db3\u53d6\u308a\u3001\u5c0e\u304d\u307e\u3059\u3002\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<ul class=\"yyi-rinker-links\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t <li class=\"amazonlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=1893969&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062&amp;url=https%3A%2F%2Fwww.amazon.co.jp%2Fgp%2Fsearch%3Fie%3DUTF8%26keywords%3DPHP%25E3%2583%2597%25E3%2583%25AD%25E3%2582%25B0%25E3%2583%25A9%25E3%2583%259F%25E3%2583%25B3%25E3%2582%25B0%25E6%2595%2599%25E5%25AE%25A4%25E3%2580%2580%25E7%2592%25B0%25E5%25A2%2583%25E3%2581%25A5%25E3%2581%258F%25E3%2582%258A%25E3%2581%258B%25E3%2582%2589Web%25E3%2582%25A2%25E3%2583%2597%25E3%2583%25AA%25E3%2581%258C%25E5%258B%2595%25E3%2581%258F%25E3%2581%25BE%25E3%2581%25A7%25E3%2581%25AE2%25E6%2597%25A5%25E9%2596%2593%25E3%2582%25B3%25E3%2583%25BC%25E3%2582%25B9\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\" data-click-tracking=\"amazon 1645 \u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]\" data-vars-amp-click-id=\"amazon 1645 \u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]\">Amazon<\/a><img alt="" class="ya_lozad" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=1893969&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062\" width=\"1\" height=\"1\" style=\"border:none;\"><noscript><img decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=1893969&amp;p_id=170&amp;pc_id=185&amp;pl_id=4062\" width=\"1\" height=\"1\" style=\"border:none;\"></noscript>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"rakutenlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=1893966&amp;p_id=54&amp;pc_id=54&amp;pl_id=616&amp;url=https%3A%2F%2Fsearch.rakuten.co.jp%2Fsearch%2Fmall%2FPHP%25E3%2583%2597%25E3%2583%25AD%25E3%2582%25B0%25E3%2583%25A9%25E3%2583%259F%25E3%2583%25B3%25E3%2582%25B0%25E6%2595%2599%25E5%25AE%25A4%25E3%2580%2580%25E7%2592%25B0%25E5%25A2%2583%25E3%2581%25A5%25E3%2581%258F%25E3%2582%258A%25E3%2581%258B%25E3%2582%2589Web%25E3%2582%25A2%25E3%2583%2597%25E3%2583%25AA%25E3%2581%258C%25E5%258B%2595%25E3%2581%258F%25E3%2581%25BE%25E3%2581%25A7%25E3%2581%25AE2%25E6%2597%25A5%25E9%2596%2593%25E3%2582%25B3%25E3%2583%25BC%25E3%2582%25B9%2F%3Ff%3D1%26grp%3Dproduct\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\" data-click-tracking=\"rakuten 1645 \u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]\" data-vars-amp-click-id=\"rakuten 1645 \u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]\">\u697d\u5929\u5e02\u5834<\/a><img alt="" class="ya_lozad" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=1893966&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\"><noscript><img decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=1893966&amp;p_id=54&amp;pc_id=54&amp;pl_id=616\" width=\"1\" height=\"1\" style=\"border:none;\"></noscript>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"yahoolink\">\n\t\t\t\t\t\t<a href=\"https:\/\/af.moshimo.com\/af\/c\/click?a_id=1893971&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502&amp;url=https%3A%2F%2Fshopping.yahoo.co.jp%2Fsearch%3Fp%3DPHP%25E3%2583%2597%25E3%2583%25AD%25E3%2582%25B0%25E3%2583%25A9%25E3%2583%259F%25E3%2583%25B3%25E3%2582%25B0%25E6%2595%2599%25E5%25AE%25A4%25E3%2580%2580%25E7%2592%25B0%25E5%25A2%2583%25E3%2581%25A5%25E3%2581%258F%25E3%2582%258A%25E3%2581%258B%25E3%2582%2589Web%25E3%2582%25A2%25E3%2583%2597%25E3%2583%25AA%25E3%2581%258C%25E5%258B%2595%25E3%2581%258F%25E3%2581%25BE%25E3%2581%25A7%25E3%2581%25AE2%25E6%2597%25A5%25E9%2596%2593%25E3%2582%25B3%25E3%2583%25BC%25E3%2582%25B9\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\" data-click-tracking=\"yahoo 1645 \u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]\" data-vars-amp-click-id=\"yahoo 1645 \u301c\u77ed\u671f\u96c6\u4e2d\u8b1b\u5ea7\u301c \u571f\u65e5\u3067\u308f\u304b\u308b PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\u74b0\u5883\u3065\u304f\u308a\u304b\u3089Web\u30a2\u30d7\u30ea\u304c\u52d5\u304f\u307e\u3067\u306e2\u65e5\u9593\u30b3\u30fc\u30b9\u3010\u96fb\u5b50\u66f8\u7c4d\u3011[ \u5409\u8c37 \u611b ]\">Yahoo\u30b7\u30e7\u30c3\u30d4\u30f3\u30b0<\/a><img alt="" class="ya_lozad" decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=1893971&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502\" width=\"1\" height=\"1\" style=\"border:none;\"><noscript><img decoding=\"async\" src=\"https:\/\/i.moshimo.com\/af\/i\/impression?a_id=1893971&amp;p_id=1225&amp;pc_id=1925&amp;pl_id=18502\" width=\"1\" height=\"1\" style=\"border:none;\"></noscript>\t\t\t\t\t<\/li>\n\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n\n\n\n\n<div data-vc_mylinkbox_id=\"886469428\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u3092\u3082\u3068\u306b\u51e6\u7406\u3092\u5206\u5c90\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001PHP\u306e\u6761\u4ef6\u5206\u5c90\u3067\u5229\u7528\u3059\u308b if elseif else switch \u306e\u89e3\u8aac\u3092\u3057\u307e\u3059\u3002 if \u547d\u4ee4\u6587 if\u306f\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u304ctru [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":556,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[44,45],"class_list":["post-1643","post","type-post","status-publish","format-standard","has-post-thumbnail","category-php","tag-php","tag-45"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c<\/title>\n<meta name=\"description\" content=\"PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u3092\u3082\u3068\u306b\u51e6\u7406\u3092\u5206\u5c90\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001PHP\u306e\u6761\u4ef6\u5206\u5c90\u3067\u5229\u7528\u3059\u308b if elseif else switch \u306e\u89e3\u8aac\u3092\u3057\u307e\u3059\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.programming-se.com\/?p=1643\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c\" \/>\n<meta property=\"og:description\" content=\"PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u3092\u3082\u3068\u306b\u51e6\u7406\u3092\u5206\u5c90\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001PHP\u306e\u6761\u4ef6\u5206\u5c90\u3067\u5229\u7528\u3059\u308b if elseif else switch \u306e\u89e3\u8aac\u3092\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.programming-se.com\/?p=1643\" \/>\n<meta property=\"og:site_name\" content=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3084\u526f\u696d\u30fb\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u306b\u95a2\u3059\u308b\u60c5\u5831\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-19T14:00:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-03-07T19:22:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.programming-se.com\/wp-content\/uploads\/2020\/04\/image-1.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"250\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"-&gt;S.E;\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"-&gt;S.E;\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643\"},\"author\":{\"name\":\"-&gt;S.E;\",\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/#\\\/schema\\\/person\\\/81d2f2e9d4e22335d08e0b5ea822b2c3\"},\"headline\":\"PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c\",\"datePublished\":\"2020-05-19T14:00:05+00:00\",\"dateModified\":\"2021-03-07T19:22:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643\"},\"wordCount\":59,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/#\\\/schema\\\/person\\\/81d2f2e9d4e22335d08e0b5ea822b2c3\"},\"image\":{\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.programming-se.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/image-1.jpeg\",\"keywords\":[\"PHP\",\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\"],\"articleSection\":[\"PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.programming-se.com\\\/?p=1643#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643\",\"url\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643\",\"name\":\"PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.programming-se.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/image-1.jpeg\",\"datePublished\":\"2020-05-19T14:00:05+00:00\",\"dateModified\":\"2021-03-07T19:22:00+00:00\",\"description\":\"PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u3092\u3082\u3068\u306b\u51e6\u7406\u3092\u5206\u5c90\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001PHP\u306e\u6761\u4ef6\u5206\u5c90\u3067\u5229\u7528\u3059\u308b if elseif else switch \u306e\u89e3\u8aac\u3092\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.programming-se.com\\\/?p=1643\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643#primaryimage\",\"url\":\"https:\\\/\\\/www.programming-se.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/image-1.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.programming-se.com\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/image-1.jpeg\",\"width\":800,\"height\":250,\"caption\":\"PHP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/?p=1643#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/www.programming-se.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/#website\",\"url\":\"https:\\\/\\\/www.programming-se.com\\\/\",\"name\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3084\u526f\u696d\u30fb\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u306b\u95a2\u3059\u308b\u60c5\u5831\",\"description\":\"Programming-&gt;S.E; &amp; Side job Sedori\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/#\\\/schema\\\/person\\\/81d2f2e9d4e22335d08e0b5ea822b2c3\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.programming-se.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/#\\\/schema\\\/person\\\/81d2f2e9d4e22335d08e0b5ea822b2c3\",\"name\":\"-&gt;S.E;\",\"logo\":{\"@id\":\"https:\\\/\\\/www.programming-se.com\\\/#\\\/schema\\\/person\\\/image\\\/\"},\"description\":\"\u521d\u3081\u307e\u3057\u3066\u3001\u3053\u306e\u30d6\u30ed\u30b0\u306e\u7ba1\u7406\u8005\u306e-&gt;S.E;\u3067\u3059\u3002 \u666e\u6bb5\u306f\u4e3b\u306bmacOS\u3067PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3084\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002 \u57fa\u672c\u7684\u306b\u306fmacOS\u30e1\u30a4\u30f3\u3067Windows\u306f\u4eee\u60f3\u74b0\u5883\u3067Windows11\u3092\u5229\u7528\u3057\u52d5\u4f5c\u78ba\u8a8d\u7a0b\u5ea6\u306e\u5229\u7528\u3067\u3059\u3002 \u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306fiOS\u304c\u30e1\u30a4\u30f3\u3067\u3059\u304c\u3001Windows\u540c\u69d8\u3001\u78ba\u8a8d\u306e\u305f\u3081\u4e2d\u83ef\u88fdandroid\u7aef\u672b\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002 \u305d\u306e\u4ed6\u3001\u4e2d\u56fd\u30bb\u30c9\u30ea\u3092\u3057\u3066\u3044\u307e\u3059\u30026\u30017\u5e74\u524d\uff082022\u5e74\u6642\u70b9\uff09\u304b\u3089\u5f90\u3005\u306b\u521d\u3081\u3066\u73fe\u5728\u3067\u306f\u3042\u308b\u7a0b\u5ea6\u5b89\u5b9a\u3057\u305f\u53ce\u5165\u3092\u5f97\u3066\u3044\u307e\u3059\u3002 \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3084\u30b5\u30fc\u30d0\u30fc\u95a2\u4fc2\u306e\u8abf\u3079\u3066\u6c17\u4ed8\u3044\u305f\u4e8b\u3084\u3001\u5b9f\u969b\u306b\u4f53\u9a13\u3057\u305f\u3053\u3068\u306a\u3069\u3001\u8208\u5473\u306e\u3042\u308b\u3053\u3068\u3092\u8a18\u4e8b\u306b\u3057\u3066\u3044\u304d\u307e\u3059\u3002\",\"sameAs\":[\"https:\\\/\\\/www.programming-se.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c","description":"PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u3092\u3082\u3068\u306b\u51e6\u7406\u3092\u5206\u5c90\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001PHP\u306e\u6761\u4ef6\u5206\u5c90\u3067\u5229\u7528\u3059\u308b if elseif else switch \u306e\u89e3\u8aac\u3092\u3057\u307e\u3059\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.programming-se.com\/?p=1643","og_locale":"ja_JP","og_type":"article","og_title":"PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c","og_description":"PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u3092\u3082\u3068\u306b\u51e6\u7406\u3092\u5206\u5c90\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001PHP\u306e\u6761\u4ef6\u5206\u5c90\u3067\u5229\u7528\u3059\u308b if elseif else switch \u306e\u89e3\u8aac\u3092\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.programming-se.com\/?p=1643","og_site_name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3084\u526f\u696d\u30fb\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u306b\u95a2\u3059\u308b\u60c5\u5831","article_published_time":"2020-05-19T14:00:05+00:00","article_modified_time":"2021-03-07T19:22:00+00:00","og_image":[{"width":800,"height":250,"url":"https:\/\/www.programming-se.com\/wp-content\/uploads\/2020\/04\/image-1.jpeg","type":"image\/jpeg"}],"author":"-&gt;S.E;","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"-&gt;S.E;","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.programming-se.com\/?p=1643#article","isPartOf":{"@id":"https:\/\/www.programming-se.com\/?p=1643"},"author":{"name":"-&gt;S.E;","@id":"https:\/\/www.programming-se.com\/#\/schema\/person\/81d2f2e9d4e22335d08e0b5ea822b2c3"},"headline":"PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c","datePublished":"2020-05-19T14:00:05+00:00","dateModified":"2021-03-07T19:22:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.programming-se.com\/?p=1643"},"wordCount":59,"commentCount":0,"publisher":{"@id":"https:\/\/www.programming-se.com\/#\/schema\/person\/81d2f2e9d4e22335d08e0b5ea822b2c3"},"image":{"@id":"https:\/\/www.programming-se.com\/?p=1643#primaryimage"},"thumbnailUrl":"https:\/\/www.programming-se.com\/wp-content\/uploads\/2020\/04\/image-1.jpeg","keywords":["PHP","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"articleSection":["PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.programming-se.com\/?p=1643#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.programming-se.com\/?p=1643","url":"https:\/\/www.programming-se.com\/?p=1643","name":"PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c","isPartOf":{"@id":"https:\/\/www.programming-se.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.programming-se.com\/?p=1643#primaryimage"},"image":{"@id":"https:\/\/www.programming-se.com\/?p=1643#primaryimage"},"thumbnailUrl":"https:\/\/www.programming-se.com\/wp-content\/uploads\/2020\/04\/image-1.jpeg","datePublished":"2020-05-19T14:00:05+00:00","dateModified":"2021-03-07T19:22:00+00:00","description":"PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u30a8\u30f3\u30c9\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u4e0e\u3048\u3089\u308c\u305f\u6761\u4ef6\u3092\u3082\u3068\u306b\u51e6\u7406\u3092\u5206\u5c90\u3057\u307e\u3059\u3002\u4eca\u56de\u306f\u3001PHP\u306e\u6761\u4ef6\u5206\u5c90\u3067\u5229\u7528\u3059\u308b if elseif else switch \u306e\u89e3\u8aac\u3092\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.programming-se.com\/?p=1643#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.programming-se.com\/?p=1643"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.programming-se.com\/?p=1643#primaryimage","url":"https:\/\/www.programming-se.com\/wp-content\/uploads\/2020\/04\/image-1.jpeg","contentUrl":"https:\/\/www.programming-se.com\/wp-content\/uploads\/2020\/04\/image-1.jpeg","width":800,"height":250,"caption":"PHP"},{"@type":"BreadcrumbList","@id":"https:\/\/www.programming-se.com\/?p=1643#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/www.programming-se.com\/"},{"@type":"ListItem","position":2,"name":"PHP \u6761\u4ef6\u5206\u5c90 if elseif else switch \u301c\u672a\u7d4c\u9a13\u306e\u70ba\u306ePHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5165\u9580\u8b1b\u5ea7\u301c"}]},{"@type":"WebSite","@id":"https:\/\/www.programming-se.com\/#website","url":"https:\/\/www.programming-se.com\/","name":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3084\u526f\u696d\u30fb\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u306b\u95a2\u3059\u308b\u60c5\u5831","description":"Programming-&gt;S.E; &amp; Side job Sedori","publisher":{"@id":"https:\/\/www.programming-se.com\/#\/schema\/person\/81d2f2e9d4e22335d08e0b5ea822b2c3"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.programming-se.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/www.programming-se.com\/#\/schema\/person\/81d2f2e9d4e22335d08e0b5ea822b2c3","name":"-&gt;S.E;","logo":{"@id":"https:\/\/www.programming-se.com\/#\/schema\/person\/image\/"},"description":"\u521d\u3081\u307e\u3057\u3066\u3001\u3053\u306e\u30d6\u30ed\u30b0\u306e\u7ba1\u7406\u8005\u306e-&gt;S.E;\u3067\u3059\u3002 \u666e\u6bb5\u306f\u4e3b\u306bmacOS\u3067PHP\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3084\u30b5\u30fc\u30d0\u30fc\u7ba1\u7406\u3092\u884c\u3063\u3066\u3044\u307e\u3059\u3002 \u57fa\u672c\u7684\u306b\u306fmacOS\u30e1\u30a4\u30f3\u3067Windows\u306f\u4eee\u60f3\u74b0\u5883\u3067Windows11\u3092\u5229\u7528\u3057\u52d5\u4f5c\u78ba\u8a8d\u7a0b\u5ea6\u306e\u5229\u7528\u3067\u3059\u3002 \u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306fiOS\u304c\u30e1\u30a4\u30f3\u3067\u3059\u304c\u3001Windows\u540c\u69d8\u3001\u78ba\u8a8d\u306e\u305f\u3081\u4e2d\u83ef\u88fdandroid\u7aef\u672b\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002 \u305d\u306e\u4ed6\u3001\u4e2d\u56fd\u30bb\u30c9\u30ea\u3092\u3057\u3066\u3044\u307e\u3059\u30026\u30017\u5e74\u524d\uff082022\u5e74\u6642\u70b9\uff09\u304b\u3089\u5f90\u3005\u306b\u521d\u3081\u3066\u73fe\u5728\u3067\u306f\u3042\u308b\u7a0b\u5ea6\u5b89\u5b9a\u3057\u305f\u53ce\u5165\u3092\u5f97\u3066\u3044\u307e\u3059\u3002 \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3084\u30b5\u30fc\u30d0\u30fc\u95a2\u4fc2\u306e\u8abf\u3079\u3066\u6c17\u4ed8\u3044\u305f\u4e8b\u3084\u3001\u5b9f\u969b\u306b\u4f53\u9a13\u3057\u305f\u3053\u3068\u306a\u3069\u3001\u8208\u5473\u306e\u3042\u308b\u3053\u3068\u3092\u8a18\u4e8b\u306b\u3057\u3066\u3044\u304d\u307e\u3059\u3002","sameAs":["https:\/\/www.programming-se.com"]}]}},"_links":{"self":[{"href":"https:\/\/www.programming-se.com\/index.php?rest_route=\/wp\/v2\/posts\/1643","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.programming-se.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.programming-se.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.programming-se.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.programming-se.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1643"}],"version-history":[{"count":0,"href":"https:\/\/www.programming-se.com\/index.php?rest_route=\/wp\/v2\/posts\/1643\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.programming-se.com\/index.php?rest_route=\/wp\/v2\/media\/556"}],"wp:attachment":[{"href":"https:\/\/www.programming-se.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.programming-se.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.programming-se.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}