{"type":"rich","provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://iww.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20190706%2Funpack\" title=\" unpack\u306f\u60f3\u50cf\u4ee5\u4e0a\u306b\u30e1\u30e2\u30ea\u3092\u305f\u304f\u3055\u3093\u6d88\u8cbb\u3059\u308b - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"PHP\u3067500KB\u7a0b\u5ea6\u306e\u30d0\u30a4\u30ca\u30ea\u30d5\u30a1\u30a4\u30eb\u30921\u30d0\u30a4\u30c8\u305a\u3064\u51e6\u7406\u3057\u305f\u304b\u3063\u305f\u306e\u3067 <? $array = unpack(\"C*\", file_get_contents($argv[1])); foreach($array as $a){ \u307f\u305f\u3044\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u305f\u3089\u3001\u30e1\u30e2\u30ea\u304c\u8db3\u308a\u306a\u3044\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u305f $ ./hoge.php hoge.bin PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 20 bytes) in /tmp/hoge.php on line 3 \u306a\u3093\u3067500KB\u3092\u2026","url":"https://iww.hateblo.jp/entry/20190706/unpack","author_url":"https://blog.hatena.ne.jp/iww/","provider_name":"Hatena Blog","published":"2019-07-06 09:21:00","blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","categories":["PHP"],"height":"190","author_name":"iww","width":"100%","version":"1.0","title":" unpack\u306f\u60f3\u50cf\u4ee5\u4e0a\u306b\u30e1\u30e2\u30ea\u3092\u305f\u304f\u3055\u3093\u6d88\u8cbb\u3059\u308b"}