{"provider_name":"Hatena Blog","blog_title":"maru source","type":"rich","version":"1.0","title":"PHP\u306eforeach\u30a4\u30c6\u30ec\u30fc\u30bf","author_name":"h13i32maru","blog_url":"https://blog.h13i32maru.jp/","description":"\u300c2.5.5foreach\u300d\u304b\u3089\u306e\u30e1\u30e2\u3002 \u914d\u5217 PHP\u3067\u306f\u914d\u5217\u3092foreach\u3092\u4f7f\u3063\u3066\u64cd\u4f5c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 <?php $array = array(\"a\" , \"b\" , \"c\"); foreach($array as $value){ echo \"$value\\n\"; } ?> a b c \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3082\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002 <?php $array = array(\"a\" , \"b\" , \"c\"); foreach($array as $key => $value){ echo \"$key => $value\\n\"; } ?> 0 => a 1 => b \u2026","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.h13i32maru.jp%2Fentry%2F20100729%2F1280402398\" title=\"PHP\u306eforeach\u30a4\u30c6\u30ec\u30fc\u30bf - maru source\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","width":"100%","author_url":"https://blog.hatena.ne.jp/h13i32maru/","published":"2010-07-29 20:19:58","categories":["tech"],"url":"https://blog.h13i32maru.jp/entry/20100729/1280402398","provider_url":"https://hatena.blog"}