title: Remove item from PHP Array - only from master group
body: <p>I need to search and than remove specific times from <strong>Tennis 1</strong> and <strong>Padel 1</strong> Resource.<br /></p>
  
  <p>My array is like this,</p>
  
  <pre><code>array(2) {
      ["Tennis 1"] =&gt; array(1) {
          ["IntervalTime"] =&gt; array(7) {
              ["Lun"] =&gt; array(11) {
                  [0] =&gt; string(5)
                  "10:00" [1] =&gt; string(5)
                  "11:00" [2] =&gt; string(5)
                  "12:00" [3] =&gt; string(5)
                  "13:00" [4] =&gt; string(5)
                  "14:00" [5] =&gt; string(5)
                  "15:00" [6] =&gt; string(5)
                  "16:00" [7] =&gt; string(5)
                  "17:00" [8] =&gt; string(5)
                  "18:00" [9] =&gt; string(5)
                  "19:00" [10] =&gt; string(5)
                  "20:00"
              }["Mar"] =&gt; array(4) {
                  [0] =&gt; string(5)
                  "12:00" [1] =&gt; string(5)
                  "13:00" [2] =&gt; string(5)
                  "14:00" [3] =&gt; string(5)
                  "15:00"
              }["Mer"] =&gt; array(5) {
                  [0] =&gt; string(5)
                  "09:00" [1] =&gt; string(5)
                  "10:00" [2] =&gt; string(5)
                  "11:00" [3] =&gt; string(5)
                  "12:00" [4] =&gt; string(5)
                  "13:00"
              }["Gio"] =&gt; array(5) {
                  [0] =&gt; string(5)
                  "09:00" [1] =&gt; string(5)
                  "10:00" [2] =&gt; string(5)
                  "11:00" [3] =&gt; string(5)
                  "12:00" [4] =&gt; string(5)
                  "13:00"
              }["Ven"] =&gt; array(5) {
                  [0] =&gt; string(5)
                  "09:00" [1] =&gt; string(5)
                  "10:00" [2] =&gt; string(5)
                  "11:00" [3] =&gt; string(5)
                  "12:00" [4] =&gt; string(5)
                  "13:00"
              }["Sab"] =&gt; array(10) {
                  [0] =&gt; string(5)
                  "09:00" [1] =&gt; string(5)
                  "10:00" [2] =&gt; string(5)
                  "11:00" [3] =&gt; string(5)
                  "12:00" [4] =&gt; string(5)
                  "13:00" [5] =&gt; string(5)
                  "14:00" [6] =&gt; string(5)
                  "15:00" [7] =&gt; string(5)
                  "16:00" [8] =&gt; string(5)
                  "17:00" [9] =&gt; string(5)
                  "18:00"
              }["Sun"] =&gt; array(10) {
                  [0] =&gt; string(5)
                  "09:00" [1] =&gt; string(5)
                  "10:00" [2] =&gt; string(5)
                  "11:00" [3] =&gt; string(5)
                  "12:00" [4] =&gt; string(5)
                  "13:00" [5] =&gt; string(5)
                  "14:00" [6] =&gt; string(5)
                  "15:00" [7] =&gt; string(5)
                  "16:00" [8] =&gt; string(5)
                  "17:00" [9] =&gt; string(5)
                  "18:00"
              }
          }
      }["Padel 1"] =&gt; array(1) {
          ["IntervalTime"] =&gt; array(7) {
              ["Lun"] =&gt; array(2) {
                  [0] =&gt; string(5)
                  "11:00" [1] =&gt; string(5)
                  "12:00"
              }["Mar"] =&gt; array(2) {
                  [0] =&gt; string(5)
                  "14:00" [1] =&gt; string(5)
                  "15:00"
              }["Mer"] =&gt; array(1) {
                  [0] =&gt; string(5)
                  "11:00"
              }["Gio"] =&gt; array(8) {
                  [0] =&gt; string(5)
                  "11:00" [1] =&gt; string(5)
                  "12:00" [2] =&gt; string(5)
                  "13:00" [3] =&gt; string(5)
                  "14:00" [4] =&gt; string(5)
                  "15:00" [5] =&gt; string(5)
                  "16:00" [6] =&gt; string(5)
                  "17:00" [7] =&gt; string(5)
                  "18:00"
              }["Ven"] =&gt; array(1) {
                  [0] =&gt; string(5)
                  "11:00"
              }["Sab"] =&gt; array(1) {
                  [0] =&gt; string(5)
                  "11:00"
              }["Sun"] =&gt; array(10) {
                  [0] =&gt; string(5)
                  "09:00" [1] =&gt; string(5)
                  "10:00" [2] =&gt; string(5)
                  "11:00" [3] =&gt; string(5)
                  "12:00" [4] =&gt; string(5)
                  "13:00" [5] =&gt; string(5)
                  "14:00" [6] =&gt; string(5)
                  "15:00" [7] =&gt; string(5)
                  "16:00" [8] =&gt; string(5)
                  "17:00" [9] =&gt; string(5)
                  "18:00"
              }
          }
      }
  }
  </code></pre>
  
  <p>The targets to delete are:<br /> </p>
  
  <pre><code>Tennis 1 ---&gt; "Mer" ---&gt; "11:00" and "12:00"
  Padel 1 ---&gt; "Gio" ---&gt; "12:00" and "14:00".
  </code></pre>
  
  <p><br /></p>
  
  <p>Any idea will be appreciated.</p>