2 /* Prototype : string nl2br(string $str)
3 * Description: Inserts HTML line breaks before all newlines in a string.
4 * Source code: ext/standard/string.c
7 echo "*** Testing nl2br() : error conditions ***\n";
10 echo "\n-- Testing nl2br() function with Zero arguments --";
13 //Test nl2br with one more than the expected number of arguments
14 echo "\n-- Testing nl2br() function with more than expected no. of arguments --";
17 var_dump( nl2br($str, true, $extra_arg) );