{"id":447,"date":"2023-08-16T20:00:32","date_gmt":"2023-08-16T11:00:32","guid":{"rendered":"https:\/\/monta-blog.com\/?p=447"},"modified":"2023-08-16T20:04:09","modified_gmt":"2023-08-16T11:04:09","slug":"php-while","status":"publish","type":"post","link":"https:\/\/monta-blog.com\/?p=447","title":{"rendered":"\u3010PHP\u521d\u5fc3\u8005\u3011\u7e70\u308a\u8fd4\u3057\u51e6\u7406while\u6587\u306e\u66f8\u304d\u65b9"},"content":{"rendered":"\n<p>\u3069\u30fc\u3082\u3001\u3082\u3093\u305f\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u65e9\u901f\u3067\u3059\u304c\u3001\u4eca\u56de\u306fPHP\u306e<span style=\"font-size: 20px\" class=\"font-size\"><span class=\"hotblue\">\u7e70\u308a\u8fd4\u3057\u51e6\u7406while\u6587<\/span><\/span>\u306b\u3064\u3044\u3066\u5b66\u3093\u3067\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7e70\u308a\u8fd4\u3059\u3060\u3051\u306e\u30b3\u30fc\u30c9\u306a\u306e\u306b\u4f7f\u3046\u3053\u3068\u3042\u308b\u3093\uff1f\u3068\u304b\u601d\u3063\u3066\u307e\u3057\u305f\u304c\u5b9f\u969b\u5f53\u305f\u308a\u524d\u306e\u3088\u3046\u306b\u4f7f\u3044\u307e\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u524d\u56de\u306e\u8a18\u4e8b\u3067\u306f\u6761\u4ef6\u5206\u5c90\u306b\u3064\u3044\u3066\u304a\u8a71\u3057\u307e\u3057\u305f\u304c\u3001\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3082\u6761\u4ef6\u5206\u5c90\u3068\u540c\u3058\u3088\u3046\u306b\u3044\u304f\u3064\u304b\u8a18\u8ff0\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"blogcard\"><a href=\"https:\/\/monta-blog.com\/php-switch\" target=\"_blank\" rel=\"noopener noreferrer\" data-blogcard=\"1\"><\/a><\/div>\n\n\n\n<p>\u4eca\u56de\u306f\u305d\u306e\u5185\u306e\u4e00\u3064\u3001while\u6587\u306b\u3064\u3044\u3066\u5b66\u3093\u3067\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3067\u306f\u65e9\u901f\u9032\u3093\u3067\u3044\u3053\u3046\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">while\u6587\u3068\u306f\uff1f<\/h2>\n\n\n\n<p>while\u6587\u3068\u306f\u3001<span style=\"font-size: 20px\" class=\"font-size\"><span class=\"hotpink\">\u540c\u3058\u30d7\u30ed\u30b0\u30e9\u30e0\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3057\u5b9f\u884c<\/span><\/span>\u3059\u308b\u3088\u3046\u306b\u547d\u4ee4\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3060\u3002<\/p>\n\n\n\n<p>\u30eb\u30fc\u30d7\u51e6\u7406\u3068\u3082\u8a00\u3046\u304c\u3001\u540c\u3058\u8981\u9818\u3067\u5168\u304f\u540c\u3058\u3088\u3046\u30b3\u30fc\u30c9\u3092\u7e70\u308a\u8fd4\u3057\u5165\u529b\u3059\u308b\u306e\u306f\u52b9\u7387\u304c\u60aa\u3044\u306e\u3067\u3001\u81ea\u52d5\u7684\u306b\u7e70\u308a\u8fd4\u3057\u3067\u51e6\u7406\u3092\u3055\u305b\u308b\u308b\u30b3\u30fc\u30c9\u3092\u4f7f\u3046\u306e\u304c\u4e00\u822c\u7684\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u666e\u901a\u306b\u8003\u3048\u308b\u30681\u301c100\u306e\u6570\u5b57\u3092\u51fa\u529b\u3059\u308b\u306b\u306f\u3001\u5358\u7d14\u306becho\u3092100\u56de\u66f8\u304b\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u304c\u3001\u3053\u3046\u3044\u3063\u305f\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3092\u4f7f\u3048\u3070echo\u306f<span style=\"font-size: 20px\" class=\"font-size\">1\u884c<\/span>\u3067\u6e08\u3080\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">while\u6587\u306e\u66f8\u304d\u65b9<\/h2>\n\n\n\n<p>\u307e\u305a\u306fwhile\u6587\u306e\u57fa\u672c\u7684\u306a\u66f8\u304d\u65b9\u3092\u898b\u3066\u307f\u3088\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>while(\u6761\u4ef6){\n  \u301c\u51e6\u7406\u301c\n}<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u3001<span class=\"hotblue\">()\u5185\u306b\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\u6761\u4ef6<\/span>\u3092\u66f8\u304d\u3001while\u6587<span class=\"hotblue\">{}\u6ce2\u62ec\u5f27\u306e\u4e2d\u306b\u7e70\u308a\u8fd4\u3057\u305f\u3044\u51e6\u7406<\/span>\u3092\u8a18\u8ff0\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u57fa\u672c\u69cb\u6587\u306b\u5b9f\u969b\u306e\u4f8b\u3092\u5f53\u3066\u306f\u3081\u3066\u66f8\u304f\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u3002\u5c1a\u3001\u53f3\u5074\u306b\u306f\u30b3\u30fc\u30c9\u306e\u89e3\u8aac\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$count = 1;   \/\/\u5909\u6570\u306e\u5b9a\u7fa9\n\nwhile($count &lt;= 10){   \/\/\u5909\u6570count\u304c10\u4ee5\u5185\u3060\u3063\u305f\u3089\u7e70\u308a\u8fd4\u3057\n  echo $count;   \/\/\u5909\u6570count\u3092\u51fa\u529b\n  $count++;  \/\/\u5909\u6570count\u306b1\u3092\u8db3\u3059\n}<\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001\u307e\u305awhile\u6587\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u524d\u63d0\u3068\u3057\u3066\u5909\u6570count\u306b\u6570\u5b57\u306e1\u3092\u5b9a\u7fa9\u3057\u3066\u3042\u308b\u3002<\/p>\n\n\n\n<p>\u6b21\u306bwhile\u6587\u306e\u6761\u4ef6\u3092($count &lt;= 10)\u3068\u3057\u3066\u3042\u308b\u304c\u3001\u3053\u308c\u306f<span class=\"hotblue\">\u5909\u6570count\u306e\u5024\u304c10\u4ee5\u5185\u3060\u3063\u305f\u3089while\u6587\u4e2d\u306e\u51e6\u7406\u3092\u7e70\u308a\u8fd4\u3059<\/span>\u3068\u3044\u3046\u3053\u3068\u3002<\/p>\n\n\n\n<p>\u5909\u6570count\u306f\u6570\u5b57\u306e1\u3092\u4ee3\u5165\u3057\u3066\u3042\u308b\u306e\u3067\u3001\u3082\u3061\u308d\u3093while\u6587\u306e\u4e2d\u306e\u51e6\u7406\u304c\u5b9f\u884c\u3055\u308cecho\u3067\u5909\u6570count\u304c\u51fa\u529b\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u6b21\u306e\u884c\u3067\u5909\u6570count\u306b1\u304c\u8db3\u3055\u308c\u305f\u5f8c\u3001\u6700\u521d\u306e\u6761\u4ef6()\u306e\u90e8\u5206\u307e\u3067\u623b\u308a<span class=\"hotblue\">\u305d\u306e\u6761\u4ef6\u304c\u5f53\u3066\u306f\u307e\u3089\u306a\u304f\u306a\u308b\u307e\u3067\u540c\u3058\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u7e70\u308a\u8fd4\u3057\u5b9f\u884c<\/span>\u3055\u308c\u308b\u3068\u3044\u3046\u69cb\u9020\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306e\u884c\u306f\u30012\u4ee5\u4e0a\u306e\u6570\u5b57\u3092\u8db3\u3059\u3068\u306a\u308b\u3068\u305d\u306e\u6570\u5b57\u305d\u306e\u3082\u306e\u3092\u5165\u529b\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u304c\u30011\u3092\u8db3\u3057\u305f\u3044\u3060\u3051\u306a\u3089\u300c<span style=\"color: #ff0000\" class=\"text-color\">++<\/span>\u300d\u3068\u5165\u529b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b<span class=\"hotpink\">\u300c$count++\u300d(\u6307\u5b9a\u306e\u5909\u6570\u306b1\u3092\u8db3\u3059)\u3068\u3044\u3046\u90e8\u5206\u306f\u8a18\u8ff0\u5fd8\u308c\u306e\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f<\/span>\u3002(\u7406\u7531\u306f\u5f8c\u8ff0)<\/p>\n\n\n\n<p>\u4e0a\u8a18\u306e\u51fa\u529b\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u306f\u305a\u3060\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>12345678910<\/code><\/pre>\n\n\n\n<p>\u6539\u884c\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u305d\u306e\u307e\u307e\u9023\u7d9a\u3067\u6570\u5b57\u304c\u4e26\u3093\u3067\u3044\u308b\u304c\u3001\u3061\u3083\u3093\u3068\u7e70\u308a\u8fd4\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7121\u9650\u30eb\u30fc\u30d7<\/h2>\n\n\n\n<p>\u305d\u3057\u3066\u3001\u5148\u307b\u3069\u300c$count++\u300d(\u6307\u5b9a\u306e\u5909\u6570\u306b1\u3092\u8db3\u3059)\u3068\u3044\u3046\u90e8\u5206\u306f\u8a18\u8ff0\u5fd8\u308c\u306e\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3068\u66f8\u3044\u305f\u304c\u3001\u305d\u306e\u7406\u7531\u3092\u8aac\u660e\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u306f\u4ee5\u4e0b\u306e\u4f8b\u3092\u898b\u3066\u307f\u3088\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$count = 1;   \/\/\u5909\u6570\u306e\u5b9a\u7fa9\n\nwhile($count &lt;= 10){   \/\/\u5909\u6570count\u304c10\u4ee5\u5185\u3060\u3063\u305f\u3089\u7e70\u308a\u8fd4\u3057\n  echo $count;   \/\/\u5909\u6570count\u3092\u51fa\u529b\n\n}<\/code><\/pre>\n\n\n\n<p>\u5909\u6570count\u306b1\u3092\u8db3\u3059\u305f\u3081\u306e\u300c$count++\u300d\u306e\u30b3\u30fc\u30c9\u304c\u629c\u3051\u3066\u308b\u306e\u304c\u5206\u304b\u308b\u304c\u3001\u3053\u306e\u66f8\u304d\u65b9\u3060\u3068\u3069\u306e\u3088\u3046\u306a\u73fe\u8c61\u304c\u8d77\u304d\u308b\u3060\u308d\u3046\u304b\u3002<\/p>\n\n\n\n<p>\u8a00\u3046\u307e\u3067\u3082\u306a\u3044\u304c\u5909\u6570count\u306b1\u3092\u8db3\u3055\u306a\u3051\u308c\u3070\u3001<span style=\"color: #ff0000\" class=\"text-color\">\u5909\u6570count\u306f\u6c38\u9060\u30681\u306e\u307e\u307e<\/span>\u3060\u3002<\/p>\n\n\n\n<p>\u305d\u3046\u306a\u308b\u3068while\u6587\u306e\u6761\u4ef6\u3067\u3042\u308b<span class=\"hotpink\">\u300c10\u4ee5\u5185\u306a\u3089\u7e70\u308a\u8fd4\u3057\u300d\u3068\u3044\u3046\u6761\u4ef6<\/span>\u304c\u6c38\u9060\u3068\u5f53\u3066\u306f\u307e\u3063\u3066\u3057\u307e\u3046\u3002<\/p>\n\n\n\n<p>\u5f93\u3063\u3066\u3001\u3053\u306e\u51fa\u529b\u7d50\u679c\u306f<span style=\"font-size: 20px\" class=\"font-size\">\u7121\u9650\u30eb\u30fc\u30d7(\u30a8\u30e9\u30fc)<\/span>\u3068\u306a\u308b\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u3053\u306e\u8a18\u8ff0\u306f\u5fc5\u305a\u5fd8\u308c\u306a\u3044\u3088\u3046\u6ce8\u610f\u304c\u5fc5\u8981\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">break\u3084continue\u3092\u4f75\u7528\u3059\u308b\u3068<\/h2>\n\n\n\n<p>\u3055\u3066\u6b21\u3067\u3059\u304c\u3001\u6761\u4ef6\u5206\u5c90if\u6587\u3067break\u3084continue\u3092\u4f75\u7528\u3059\u308b\u3053\u3068\u3067\u66f4\u306b\u8907\u96d1\u306a\u51e6\u7406\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">break\u3067\u5f37\u5236\u7684\u306b\u629c\u3051\u308b<\/h3>\n\n\n\n<p>\u307e\u305a\u306fif\u6587\u3068break\u3092\u4f75\u7528\u3057\u305f\u4ee5\u4e0b\u306e\u4f8b\u3092\u898b\u3066\u307f\u3088\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$count = 1;   \/\/\u5909\u6570\u306e\u5b9a\u7fa9\n\nwhile($count &lt;= 10){     \/\/\u5909\u6570count\u304c10\u4ee5\u5185\u3060\u3063\u305f\u3089\u7e70\u308a\u8fd4\u3057\n  if($count >= 6){       \/\/\u5909\u6570count\u304c6\u4ee5\u4e0a\u3060\u3063\u305f\u3089\n    break;               \/\/while\u6587\u3092\u5f37\u5236\u7684\u306b\u629c\u3051\u308b\n  }\n  echo $count;          \/\/\u5909\u6570count\u3092\u51fa\u529b\n  $count++;             \/\/\u5909\u6570count\u306b1\u3092\u8db3\u3059\n}<\/code><\/pre>\n\n\n\n<p>\u307e\u305a\u3001\u3053\u308c\u307e\u3067\u3068\u540c\u69d8\u3067\u5909\u6570count\u306b1\u3092\u4ee3\u5165\u3057\u3066\u3042\u308b\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066while\u6587\u306e\u6761\u4ef6\u3067\u3001<span class=\"hotblue\">\u5909\u6570count\u304c10\u4ee5\u5185\u3060\u3063\u305f\u3089\u7e70\u308a\u8fd4\u3057<\/span>\u3068\u3044\u3046\u6761\u4ef6\u5f0f\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u3053\u308c\u3060\u3051\u898b\u308b\u30681\u301c10\u307e\u3067\u7e70\u308a\u8fd4\u3057\u51fa\u529b\u3055\u308c\u308b\u3068\u601d\u3046\u304b\u3082\u3057\u308c\u306a\u3044\u304c\u3001\u5b9f\u969b\u306f\u9055\u3046\u3002<\/p>\n\n\n\n<p>\u3088\u304f\u898b\u308b\u3068while\u6587\u306e\u4e2d\u306bif\u6587\u304c\u3042\u308a\u3001\u305d\u306eif\u6587\u306e\u4e2d\u306b\u306f<span style=\"color: #ff0000\" class=\"text-color\"><span style=\"font-size: 20px\" class=\"font-size\">break<\/span><\/span>\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u524d\u56de\u306eswich\u6587\u3067\u3082\u5b66\u3093\u3060\u304c\u3001break\u306f<span class=\"hotpink\">\u5f37\u5236\u7684\u306b\u305d\u306e\u51e6\u7406\u3092\u629c\u3051\u308b<\/span>\u3068\u3044\u3046\u547d\u4ee4\u306a\u306e\u3067\u3001\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u300c\u5909\u6570count\u304c6\u4ee5\u4e0a\u306b\u306a\u3063\u305f\u3089while\u6587\u3092\u5f37\u5236\u7684\u306b\u629c\u3051\u308b\u300d\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p>\u3064\u307e\u308a\u3001break\u3092\u8aad\u307f\u8fbc\u3093\u3060\u5f8c\u306fbreak\u306e\u4e0b\u306e\u51e6\u7406\u306f\u5b9f\u884c\u3055\u308c\u305a\u306b\u7d42\u308f\u308b\u3002<\/p>\n\n\n\n<p>\u5f93\u3063\u3066\u3001\u4e0a\u8a18\u306e\u51fa\u529b\u7d50\u679c\u3068\u3057\u3066\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>12345<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">continue\u3067\u30b9\u30ad\u30c3\u30d7<\/h3>\n\n\n\n<p>\u3067\u306f\u6b21\u306bif\u6587\u3068continue\u3092\u4f75\u7528\u3057\u305f\u4ee5\u4e0b\u306e\u4f8b\u3092\u898b\u3066\u307f\u3088\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$count = 1;   \/\/\u5909\u6570\u306e\u5b9a\u7fa9\n\nwhile($count &lt;= 10){     \/\/\u5909\u6570count\u304c10\u4ee5\u5185\u3060\u3063\u305f\u3089\u7e70\u308a\u8fd4\u3057\n  if($count % 2 == 0){   \/\/\u5909\u6570count\u304c2\u306e\u500d\u6570\u306a\u3089\n    $count++;            \/\/\u5909\u6570count\u306b1\u3092\u8db3\u3059\n    continue;            \/\/\u6b21\u306e\u9031\u3078\u30b9\u30ad\u30c3\u30d7\n  }\n  echo $count;          \/\/\u5909\u6570count\u3092\u51fa\u529b\n  $count++;             \/\/\u5909\u6570count\u306b1\u3092\u8db3\u3059\n}<\/code><\/pre>\n\n\n\n<p>\u3053\u3061\u3089\u306e\u4f8b\u3067\u3082break\u4f8b\u3068\u540c\u3058\u304fcount\u306e\u5909\u6570\u5b9a\u7fa9\u306e\u5f8c\u3001while\u6587\u306e\u6761\u4ef6\u3067\u300c\u5909\u6570count\u304c10\u4ee5\u5185\u306a\u3089\u7e70\u308a\u8fd4\u3057\u300d\u3068\u306a\u3063\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306fif\u6587\u306b\u3088\u3063\u3066\u300c\u5909\u6570count\u304c2\u306e\u500d\u6570\u3060\u3063\u305f\u3089\u300d\u30682\u306e\u500d\u6570\u306e\u6642\u3060\u3051\u306fif\u6587\u4e2d\u306e\u51e6\u7406\u304c\u5b9f\u884c\u3055\u308c\u308b\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p>\u305d\u3057\u3066if\u6587\u306e\u4e2d\u306b\u306f\u3001\u300c$count++\u300d\u306e\u6b21\u306e\u884c\u306b<span style=\"font-size: 20px\" class=\"font-size\"><span style=\"color: #ff0000\" class=\"text-color\">continue<\/span><\/span>\u304c\u8a18\u8ff0\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n\n\n\n<p>continue\u306f<span class=\"hotpink\">\u6b21\u306e\u9031\u3078\u30b9\u30ad\u30c3\u30d7\u3059\u308b<\/span>\u3068\u3044\u3046\u547d\u4ee4\u306a\u306e\u3067\u3001\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u300c<span class=\"hotblue\">\u5909\u6570count\u304c2\u306e\u500d\u6570\u306e\u6642\u306f\u30011\u3060\u3051\u8db3\u3057\u3066\u6b21\u306e\u9031\u3078\u30b9\u30ad\u30c3\u30d7\u3059\u308b<\/span>\u300d\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u969b\u3001if\u6587\u4e2d\u3067\u306fecho\u306b\u3088\u308b\u5909\u6570count\u306e\u51fa\u529b\u306f\u3057\u3066\u3044\u306a\u3044\u3002<\/p>\n\n\n\n<p>\u5f93\u3063\u3066\u3001\u51fa\u529b\u7d50\u679c\u306f\u6b21\u306e\u3088\u3046\u306b2\u306e\u500d\u6570\u3060\u3051\u51fa\u529b\u3055\u308c\u3066\u3044\u306a\u3044\u306f\u305a\u3060\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>13579<\/code><\/pre>\n\n\n\n<p>break\u3068continue\u3001\u3069\u3061\u3089\u3082\u3057\u3063\u304b\u308a\u899a\u3048\u3066\u304a\u304d\u305f\u3044\u3068\u3053\u308d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u4eca\u56de\u3082\u7121\u4e8b\u306b\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u306d\u3047\u3002<\/p>\n\n\n\n<p>\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3001\u30eb\u30fc\u30d7\u51e6\u7406\u306e\uff11\u3064\u3068\u3057\u3066\u3061\u3083\u3093\u3068\u4f7f\u3044\u3053\u306a\u3057\u305f\u3044\u3067\u3059\u304c\u3001\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u306ffor\u6587\u3068\u3084\u3089\u3082\u3042\u308b\u306e\u3067\u3001\u6b21\u306f\u305d\u306efor\u6587\u3068\u3084\u3089\u3082\u5b66\u3070\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u306d\u3002<\/p>\n\n\n\n<div class=\"blogcard\"><a href=\"https:\/\/monta-blog.com\/php-for\" data-blogcard=\"1\"><\/a><\/div>\n\n\n\n<p>\u3057\u304b\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3068\u306f<span style=\"font-size: 20px\" class=\"font-size\">\u3053\u3093\u306a\u306b\u9762\u767d\u3044\u3082\u306e\u3060\u3063\u305f\u306e\u304b<\/span>\u3068\u75db\u611f\u3057\u306a\u304c\u3089\u6bce\u65e5\u5b66\u3093\u3067\u304a\u308a\u307e\u3059\u3002\u7b11<\/p>\n\n\n\n<p>\u3053\u3093\u306a\u697d\u3057\u3044\u3082\u306e\u3092\u77e5\u3089\u305a\u306b\u751f\u304d\u3066\u304d\u305f\u3068\u306f\u3002\u3002\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u697d\u3057\u3055\u3092\u5fd8\u308c\u305a\u306b\u5b66\u3073\u7d9a\u3051\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3067\u306f\u3001\u4eca\u56de\u3082\u6700\u5f8c\u307e\u3067\u3054\u89a7\u9802\u304d\u307e\u3057\u3066\u3001\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u30fc\u3082\u3001\u3082\u3093\u305f\u3067\u3059\u3002 \u65e9\u901f\u3067\u3059\u304c\u3001\u4eca\u56de\u306f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":448,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[],"class_list":["post-447","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-53"],"_links":{"self":[{"href":"https:\/\/monta-blog.com\/index.php?rest_route=\/wp\/v2\/posts\/447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monta-blog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monta-blog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monta-blog.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monta-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=447"}],"version-history":[{"count":7,"href":"https:\/\/monta-blog.com\/index.php?rest_route=\/wp\/v2\/posts\/447\/revisions"}],"predecessor-version":[{"id":515,"href":"https:\/\/monta-blog.com\/index.php?rest_route=\/wp\/v2\/posts\/447\/revisions\/515"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/monta-blog.com\/index.php?rest_route=\/wp\/v2\/media\/448"}],"wp:attachment":[{"href":"https:\/\/monta-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monta-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monta-blog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}