title: PHP's array_map including keys
body: <p>Is there a way of doing something like this:</p>
  
  <pre><code>$test_array = array("first_key" =&gt; "first_value", 
                      "second_key" =&gt; "second_value");
  
  var_dump(array_map(function($a, $b) { return "$a loves $b"; }, 
           array_keys($test_array), 
           array_values($test_array)));
  </code></pre>
  
  <p>But instead of calling <code>array_keys</code> and <code>array_values</code>, directly passing the <code>$test_array</code> variable?</p>
  
  <p>The desired output is:</p>
  
  <pre><code>array(2) {
    [0]=&gt;
    string(27) "first_key loves first_value"
    [1]=&gt;
    string(29) "second_key loves second_value"
  }
  </code></pre>