title: Workaround for no array_map for keys and values
body: <p>I'd like a function that fills an array from a callback supplying key and value, to looplessly refactor e.g. this:</p>
  
  <pre><code> foreach(array_slice($argv,1) as $arg)
   if( preg_match('~^([^=]*)=([^=]*)$~',$arg,$matches)) $_SERVER[$matches[1]] = $matches[2];
  </code></pre>
  
  <p>What's the nearest available?</p>