Twitterフィードを利用するためのこのコードがあります...
// Output tweets
  $json = file_get_contents("http://api.twitter.com/1/statuses/user_timeline.json?include_entities=true&include_rts=false&screen_name=*********&count=100", true);
  $decode = json_decode($json, true);
  $count = count($decode); //counting the number of status
  for($i=0;$i<$count;$i++){
    //echo $decode[$i]["text"]."<br><br>";
    $text = $decode[$i]["text"]." ";
    echo $text;
  }
別の関数で$textにアクセスしたい。これはできますか?