title: Getting only the highest value
body: <p>I have this foreach loop and I want only take and display the array of the largest value of <code>buildings</code></p>
  <p>this is my loop</p>
  <pre><code>$this-&gt;TaTarVillages = array();
  foreach ($this-&gt;GetTaTaRVillages() as $value) {
      $this-&gt;TaTarVillages[] = array(
          'id' =&gt; $value['id'],
          'player_id' =&gt; $value['player_id'],
          'player_name' =&gt; $value['player_name'],
          'village_name' =&gt; $value['village_name'],
          'alliance_id' =&gt; $value['alliance_id'],
          'alliance_name' =&gt; $value['alliance_name'],
          'buildings' =&gt; $this-&gt;getWonderLandLevel($value['buildings'])
      );
  }
  </code></pre>
  <p>Using PHP 7</p>