I have an array that looks like this.
'keyvals' =>
array
'key1' => 'value1'
'key2' => 'value2'
'key3' => 'value3'
Is there a cool way to flatten it to a string like 'value1 value2 value3'? I also have access to PHP 5.3 if there’s something new there.
1 Answer