fork download
  1. <?php
  2.  
  3. switch (true) {
  4. case ($res=file_get_contents('http://h...content-available-to-author-only...o.jp/hl?c=bus'))===false:
  5. case !preg_match("@<a href=\"([^\"]*)\">\xB5\xAD\xBB\xF6\xC1\xB4\xCA\xB8</a>@",$res,$matches):
  6. case ($res=file_get_contents($matches[1]))===false:
  7. case !preg_match('@<p class="ynDetailText">(.*?)</p>@s',$res,$matches):
  8. exit('Error');
  9. default:
  10. echo $matches[1];
  11. }
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty