{"id":2592,"date":"2015-05-06T13:20:48","date_gmt":"2015-05-06T04:20:48","guid":{"rendered":"http:\/\/programminglanguage7.com\/?p=2592"},"modified":"2015-05-06T13:20:48","modified_gmt":"2015-05-06T04:20:48","slug":"post-2592","status":"publish","type":"post","link":"https:\/\/programminglanguage7.com\/?p=2592","title":{"rendered":"\u53c2\u7167\u6e21\u3057\u3068\u5024\u6e21\u3057\u306b\u3064\u3044\u3066\u77e5\u308d\u3046"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\">\u3053\u306e\u7ae0\u3067\u306f\u53c2\u7167\u6e21\u3057\u3068\u5024\u6e21\u3057\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">PHP\u306b\u306f\u5909\u6570\u306b\u5024\u3092\u6e21\u3059\u65b9\u6cd5\u304c2\u7a2e\u985e\u3042\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">1\u3064\u304c\u5024\u6e21\u3057\u3067\u3001\u3082\u3046\u4e00\u3064\u304c\u53c2\u7167\u6e21\u3057\u3067\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u5024\u6e21\u3057\u3068\u306f\u4eca\u307e\u3067\u3068\u540c\u3058\u4ee3\u5165\u306e\u4ed5\u65b9\u3067\u3059\u304c\u3001\u3042\u308b\u5909\u6570\u306b\u4ee3\u5165\u3057\u305f\u30c7\u30fc\u30bf\u3092\u4ed6\u306e\u5909\u6570\u3078\u4ee3\u5165\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u305f\u3060\u30c7\u30fc\u30bf\u3092\u79fb\u3057\u3066\u3044\u308b\u3060\u3051\u306a\u306e\u3067\u3001\u5f53\u305f\u308a\u524d\u3067\u3059\u304c$a\u3082$b\u3082\u9055\u3046\u5909\u6570\u306b\u306a\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">$b\u306b\u306f$a\u306e\u5024\u304c\u4ee3\u5165\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u30ea\u30f3\u30b4\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/span><span style=\"font-size: 14pt;\"><br \/>\n<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11728.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2593\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11728.jpg\" alt=\"1\" width=\"160\" height=\"137\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30e6\u30fc\u30b6\u30fc\u5b9a\u7fa9\u95a2\u6570\u306b\u5909\u6570\u306e\u5024\u3092\u6e21\u3057\u307e\u3057\u305f\u304c\u3001\u3053\u308c\u3082\u5024\u6e21\u3057\u306b\u306a\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\"><a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11735.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2601\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11735-300x137.jpg\" alt=\"1\" width=\"300\" height=\"137\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11735-300x137.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11735.jpg 402w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11736.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-2602\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11736-300x136.jpg\" alt=\"1\" width=\"322\" height=\"146\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11736-300x136.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11736.jpg 516w\" sizes=\"(max-width: 322px) 100vw, 322px\" \/><\/a>\u53c2\u7167\u6e21\u3057\u306f\u5024\u3092\u6e21\u3059\u3068\u304d\u306b\u5909\u6570\u306e\u524d\u306b<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11730.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2595\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11730.jpg\" alt=\"1\" width=\"49\" height=\"37\" \/><\/a>\u3092\u4ed8\u3051\u307e\u3059\u3002<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11731.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2596\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11731.jpg\" alt=\"1\" width=\"179\" height=\"181\" \/><\/a><\/span> <span style=\"font-size: 14pt;\">\u300c&amp;\u300d\u3092\u4ed8\u3051\u3066\u5909\u6570\u3092\u4ee3\u5165\u3057\u307e\u3059\u3068\u4ee3\u5165\u3059\u308b\u5909\u6570\u3068\u4ee3\u5165\u3055\u308c\u308b\u5909\u6570\u306e\u4e21\u65b9\u304c\u540c\u3058\u3082\u306e\u3092\u6307\u3059\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3064\u307e\u308a\u3001$a\u306b<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11730.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2595\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11730.jpg\" alt=\"1\" width=\"49\" height=\"37\" \/><\/a>\u3092\u4ed8\u3051\u3066$b\u306b\u4ee3\u5165\u3057\u307e\u3059\u30682\u3064\u306e\u5909\u6570\u306f\u4e00\u5fc3\u540c\u4f53\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001$b\u306b\u30c8\u30de\u30c8\u3092\u4ee3\u5165\u3059\u308b\u3068$a\u307e\u3067\u30c8\u30de\u30c8\u306b\u66f8\u304d\u66ff\u308f\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u5c02\u9580\u7684\u306b\u8a00\u3044\u307e\u3059\u3068\u30c7\u30fc\u30bf\u304c\u4fdd\u5b58\u3057\u3066\u3042\u308b\u30a2\u30c9\u30ec\u30b9\u304c\u540c\u3058\u306b\u306a\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u30a2\u30c9\u30ec\u30b9\u3068\u306f\u30c7\u30fc\u30bf\u304c\u4fdd\u7ba1\u3057\u3066\u3042\u308b\u5834\u6240\u3067\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3053\u306e\u53c2\u7167\u6e21\u3057\u306f\u95a2\u6570\u3067\u3082\u4f7f\u3046\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u4eee\u5f15\u6570\u306b<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11730.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2595\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11730.jpg\" alt=\"1\" width=\"49\" height=\"37\" \/><\/a>\u3092\u4ed8\u3051\u307e\u3059\u3068\u53c2\u7167\u6e21\u3057\u306b\u306a\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3053\u306e\u95a2\u6570\u306e\u4e2d\u306e$n1\u306f<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11732.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2597\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11732.jpg\" alt=\"1\" width=\"94\" height=\"39\" \/><\/a>\u3092\u639b\u3051\u305f\u7d50\u679c\u30011050\u306b\u5909\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3053\u306e\u623b\u308a\u5024\u304c$result\u306b\u5165\u308a\u307e\u3059\u306e\u3067<a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11733.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2598\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11733-300x34.jpg\" alt=\"1\" width=\"300\" height=\"34\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11733-300x34.jpg 300w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11733.jpg 338w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\u306f1050\u306b\u306a\u308a\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\"><a href=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11734.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2599\" src=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11734-194x300.jpg\" alt=\"1\" width=\"194\" height=\"300\" srcset=\"https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11734-194x300.jpg 194w, https:\/\/programminglanguage7.com\/wp-content\/uploads\/2015\/05\/11734.jpg 360w\" sizes=\"(max-width: 194px) 100vw, 194px\" \/><\/a><\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3067\u306fecho $a;\u306f\u3069\u3046\u3067\u3057\u3087\u3046\u304b\uff1f<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u53c2\u7167\u6e21\u3057\u3067\u30c7\u30fc\u30bf\u3092\u6e21\u3057\u305f\u7d50\u679c\u3001$a\u3068$n1\u306f\u540c\u3058\u3082\u306e\u3092\u6307\u3059\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u306e\u3067\u3001$a\u30821050\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u7ae0\u3067\u306f\u53c2\u7167\u6e21\u3057\u3068\u5024\u6e21\u3057\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 PHP\u306b\u306f\u5909\u6570\u306b\u5024\u3092\u6e21\u3059\u65b9\u6cd5\u304c2\u7a2e\u985e\u3042\u308a\u307e\u3059\u3002 1\u3064\u304c\u5024\u6e21\u3057\u3067\u3001\u3082\u3046\u4e00\u3064\u304c\u53c2\u7167\u6e21\u3057\u3067\u3059\u3002 \u5024\u6e21\u3057\u3068\u306f\u4eca\u307e\u3067\u3068\u540c\u3058\u4ee3\u5165\u306e\u4ed5\u65b9\u3067\u3059\u304c\u3001\u3042\u308b\u5909\u6570\u306b\u4ee3\u5165\u3057\u305f\u30c7\u30fc\u30bf\u3092\u4ed6\u306e\u5909\u6570\u3078\u4ee3\u5165\u3059 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[193],"tags":[245,244],"class_list":["post-2592","post","type-post","status-publish","format-standard","hentry","category-php","tag-245","tag-244"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/2592"}],"collection":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2592"}],"version-history":[{"count":2,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/2592\/revisions"}],"predecessor-version":[{"id":2603,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=\/wp\/v2\/posts\/2592\/revisions\/2603"}],"wp:attachment":[{"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/programminglanguage7.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}