Filter a flat associative array using another flat associative array with PHP
15:27 29 Oct 2018

I have this two arrays:

  Array ( [291] => 3 [292] => 1 [293] => 3 )

  Array ( [291] => 3 [292] => 1 )

I need a php function to join out the two and have a result look like:

Array ( [293] => 3 )

How could I do this?

php arrays associative-array array-difference