$comment = eregi_replace("\n[ \t]+", "\n", trim($comment)); $comment = str_replace("\n", "\\n", trim($comment)); $comment = eregi_replace("[\t ]+", " ", trim($comment));par
$comment = preg_replace("`\n[ \t]+`U", "\n",trim($comment)); $comment = str_replace("\n", "\\n", trim($comment)); $comment = preg_replace("`[\t ]+`U", " ",trim($comment));
$hello = new HelloWorld(); echo $hello->firstHello();