multi string php ke string tunggal

$str = preg_replace("/[\r\n]*/","",$str);
Different Duck