Test nl2br online

Execute nl2br with this online tool
nl2br() - Inserts HTML line breaks before all newlines in a string
Nl2br Online Tool
Manual
Code Examples

$string =


$use_xhtml =

PHP Version:


Function nl2br:

String Manipulation Tools