title: Get elements with same key but different value in two PHP arrays
body: <p>So i get info from a JSON file and i get one array called "items" and pass it to this array in PHP:</p>
  
  <pre><code>"items": [
  {
    "id": "2",
    "parent": null,
    "itemType": 0,
    "title": "Manuel Perez",
    "description": "Chief Executive Officer (CEO)",
    "phone": "(491) 183-55-45",
    "email": "ste.ballmer@name.com",
    "photo": "",
    "image": "demo/images/photos/m.png",
    "href": "showdetails.php?recordid=2",
    "isVisible": true
  }
  </code></pre>
  
  <p>Then i have to compare this with another that can contain more or less items, but i can take those elements that change the size of the array. But when i want to get the difference when the size is the same and a value of a key is different when i cant make it work.</p>
  
  <p>If in the second array in the position 2 the value of "itemType" change to 1 i want to get somenthing like this:</p>
  
  <pre><code>Array[2] - &gt; "itemType": 1
  </code></pre>
  
  <p>And so that way i can know if something changed.</p>