title: how to compare arrays for additions and subtractions in php?
body: <p>I have two arrays:</p>
  
  <pre><code>$currentArr = ['apples','oranges','pears'];
  
  $newArr = ['apples','oranges','pears', 'grapes'];
  </code></pre>
  
  <p>I need to formulate logic that will:</p>
  
  <p>a) check the <code>$newArr</code> against the <code>$currentArr</code> and tell me what was REMOVED and what was ADDED</p>
  
  <p>b) push the removed values onto a new separate array and push the added values onto a new separate array</p>
  
  <p>as I am not extremely well versed in PHP, is this possible? if so, how can I do so?</p>