テスト



string(57) "キャッシュ無いから新しくとってくるお。"
string(131) "http://h.hatena.ne.jp/api/statuses/keyword_timeline.json?word=id%3atmd45&body_formats=api%2chaiku%2chtml%2chtml_mobile%2chtml_touch"
array(1) {
  ["http"]=>
  array(2) {
    ["method"]=>
    string(3) "GET"
    ["header"]=>
    string(100) "Host: ytmd.sakura.ne.jp
Accept-language: ja
User-Agent: CCBot/2.0 (https://commoncrawl.org/faq/)
"
  }
}

Warning: file_get_contents(http://h.hatena.ne.jp/api/statuses/keyword_timeline.json?word=id%3atmd45&body_formats=api%2chaiku%2chtml%2chtml_mobile%2chtml_touch): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/ytmd/www/test/phpbox/haiku_rest_client.php on line 83
bool(false) string(15) "取得失敗!"