nl2br

nl2br ($str)

Execute PHP Function nl2br

To exectute the function online enter your test data into the form fields for each parameter and press the "Execute" button. Parameters in brackets are optional.