$aline = "功盖三分国,/n名成八阵图。/n江流石不转,/n遗恨失吞吴。/n";
echo $aline;
echo "/n/n";
echo nl2br("/n/n"); //将/n转化成
并换行
echo nl2br($aline);
?>
$text = "When it's tough, do it tough";
echo nl2br("/n".$text."/n");
echo nl2br(strtoupper($text)."/n");
echo nl2br(strtolower($text)."/n");
echo nl2br(ucfirst($text)."/n");
echo nl2br(ucwords($text)."/n");
?>