array_intersect_key

  • (PHP 5 >= 5.1.0, PHP 7)
  • Computes the intersection of arrays using keys for comparison