title: Remove similar from foreach
body: <p>Trying use array_unique but this did not help, since not all fields are repeated for me.
  My array:</p>
  <pre><code>'Rows' =&gt; 
    array (
      0 =&gt; 
          array (
          'HotelId' =&gt; 94852,
          'OfferId' =&gt; 858080496,
          'OfferIdStr' =&gt; '858080496',
          'Price' =&gt; 2762,
      ),
      1 =&gt; 
        array (
          'HotelId' =&gt; 94852,
          'OfferId' =&gt; 858080497,
          'OfferIdStr' =&gt; '858080497',
          'Price' =&gt; 3000,
      ),
  </code></pre>
  <p>And my try:</p>
  <pre><code>$allHotels['Rows'] = array_unique($allHotels['Rows'], SORT_REGULAR);
  </code></pre>
  <p>Changed flags, didn't help either (SORT_NORMAL, etc...).
  It deletes absolutely everything, i need to ignore the HotelId replay, only first need.</p>