Getting values from specified keys
<p>i use imdb api</p>

<pre><code> $homepage = file_get_contents('http://www.imdbapi.com/?i='.$imdbID);
            $arr = json_decode($homepage);
</code></pre>

<p>In $arr i have all data about related movie.</p>

<pre><code> Maguire [Year] =&gt; 1996 [Rated] =&gt; R [Released] =&gt; 13 Dec 1996 [Genre] =&gt; Comedy, Drama, Romance, Sport [Director] =&gt; Cameron Crowe [Writer] =&gt; Cameron Crowe [Actors] =&gt; Tom Cruise, Cuba Gooding Jr., Renée Zellweger, Kelly Preston [Plot] =&gt; When a sports agent has a moral epiphany and is fired for expressing it, he decides to put his new philosophy to the test as an independent with the only athlete who stays with him. [Poster] =&gt; http://ia.media-imdb.com/images/M/MV5BMTkxNjc2NjQwOF5BMl5BanBnXkFtZTcwMDE2NDU2MQ@@._V1_SX320.jpg [Runtime] =&gt; 2 hrs 19 mins [Rating] =&gt; 7.2 [Votes] =&gt; 97329 [ID] =&gt; tt0116695 [Response] =&gt; True )
</code></pre>

<p>what i want is that reaching specified key's value. </p>

<p>Is there a function like that? For example , i will give the key=> Actors and get all actors?</p>
