$text = trim($text, "\n"); $text = explode( "\n", $text ); foreach($text as $str) { echo $str; }打赏感谢支持与鼓励~