nl2br() 공개 정적인 메소드

Formats a string by nl2br.
또한 보기: http://www.php.net/manual/en/function.nl2br.php
public static nl2br ( string $value ) : string
$value string Value
리턴 string
예제 #1
0
 public function testNl2br()
 {
     $value = "very\nloooooong\ntext lala";
     $this->assertEquals("very<br />\nloooooong<br />\ntext lala", rex_formatter::nl2br($value));
 }