{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinriyo.hateblo.jp%2Fentry%2F20120501\" title=\" - \u4e07\u5e74\u7d20\u4eba\u304b\u3089Hacker\u3078\u306e\u9053\" 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","author_name":"shinriyo","categories":[],"width":"100%","blog_title":"\u4e07\u5e74\u7d20\u4eba\u304b\u3089Hacker\u3078\u306e\u9053","version":"1.0","image_url":null,"published":"2012-05-01 00:00:00","blog_url":"https://shinriyo.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/shinriyo/","provider_name":"Hatena Blog","type":"rich","url":"https://shinriyo.hateblo.jp/entry/20120501","title":"","provider_url":"https://hatena.blog","description":"PHP\u306e\u914d\u5217\u3092foreach\u3057\u305f\u6642\u306e\u9806 <?php $hoge = array(); $hoge[3] = 'e'; $hoge[5] = 'a'; $hoge[2] = 'b'; $hoge[0] = 'c'; $hoge[1] = 'd'; foreach ($hoge as $val) { echo $val; } ?> eabcd\u3063\u3066\u8a70\u3081\u305f\u9806\u306b\u3067\u308b\u3002 \u305d\u3082\u305d\u3082\u3001\u597d\u304d\u306a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u81ea\u7531\u306b\u5165\u308c\u3089\u308c\u308b\u306e\u304b\uff01\u30fbPython\u3060\u3068\u3001\u7bc4\u56f2\u8d85\u3048\u3066\u308b\u3063\u3066\u304a\u3053\u3089\u308c\u308b\u306e\u306b >>> a = [] >>> a[3] = 'e' Traceback (most recent call last): File \"\u2026"}