PHP, explode, and my trouble
<p>Can't wrap my head around this...</p>

<p>Say, we explode the whole thing like so:</p>

<blockquote>
  <p>$extract = explode('tra-la-la', $big_sourse);</p>
</blockquote>

<p>Then we want to get a value at index 1:</p>

<blockquote>
  <p>$finish = $extract[1];</p>
</blockquote>

<p>My question is how to get it in one go, to speak so. Something similar to this:</p>

<blockquote>
  <p>$finish = explode('tra-la-la', $big_sourse)[1]; // does not work</p>
</blockquote>

<p>Something like the following would work like a charm:</p>

<blockquote>
  <p>$finish = end(explode('tra-la-la', $big_sourse)); </p>
  
  <p>// or</p>
  
  <p>$finish = array_shift(explode('tra-la-la', $big_sourse)); </p>
</blockquote>

<p>But what if the value is sitting somewhere in the middle?</p>
