array_combine

  • (PHP 5, PHP 7)
  • Creates an array by using one array for keys and another for its values