Implode PHP array by both key and value