title: Perform arithmetic operation on specifc values of Array - PHP
body: <p>I have an array</p>
  
  <pre><code> Array
  (
      [0] =&gt; 34
      [1] =&gt; 04:32 PM
      [2] =&gt; 05:32 PM
      [3] =&gt; MNL | ITLY
      [4] =&gt; 2h 10m
      [5] =&gt;   PHP 9,222
      [6] =&gt; 33
      [7] =&gt; 04:32 PM
      [8] =&gt; 04:32 PM
      [9] =&gt; ITLY | MNL
      [10] =&gt; 2h 10m
      [11] =&gt;    PHP 7,227
  )
  </code></pre>
  
  <p>how can i perform arithmetic operation on value of index 5 and 11.</p>