Say I have an array of key/value pairs in PHP:
array( \'foo\' => \'bar\', \'baz\' => \'qux\' );
What\'s the simplest way to transform
function parameterize_array($array) { $out = array(); foreach($array as $key => $value) $out[] = "$key=$value"; return $out; }