Searched refs:nl2br (Results 1 – 11 of 11) sorted by relevance
2 Test nl2br() function : error conditions5 /* Prototype : string nl2br(string $str)10 echo "*** Testing nl2br() : error conditions ***\n";13 echo "\n-- Testing nl2br() function with Zero arguments --";14 var_dump( nl2br() );16 //Test nl2br with one more than the expected number of arguments20 var_dump( nl2br($str, true, $extra_arg) );25 *** Testing nl2br() : error conditions ***27 -- Testing nl2br() function with Zero arguments --28 Warning: nl2br() expects at least 1 parameter, 0 given in %s on line %d[all …]
2 nl2br() function5 var_dump(nl2br("test"));6 var_dump(nl2br(""));7 var_dump(nl2br(NULL));8 var_dump(nl2br("\r\n"));9 var_dump(nl2br("\n"));10 var_dump(nl2br("\r"));11 var_dump(nl2br("\n\r"));13 var_dump(nl2br("\n\r\r\n\r\r\r\r"));14 var_dump(nl2br("\n\r\n\n\r\n\r\r\n\r\n"));[all …]
2 Test nl2br() function : usage variations - unexpected values for 'str' argument5 /* Prototype : string nl2br(string $str)11 * Test nl2br() function by passing different types of values other than15 echo "*** Testing nl2br() : usage variations ***\n";77 // loop through $values array to test nl2br() function with each element81 var_dump( nl2br($value) );91 *** Testing nl2br() : usage variations ***112 Warning: nl2br() expects parameter 1 to be string, array given in %s on line %d116 Warning: nl2br() expects parameter 1 to be string, array given in %s on line %d120 Warning: nl2br() expects parameter 1 to be string, array given in %s on line %d[all …]
2 Test nl2br() function : usage variations - html values for 'str' argument5 /* Prototype : string nl2br(string $str)11 * Test nl2br() function by passing html string inputs containing line breaks and15 echo "*** Testing nl2br() : usage variations ***\n";25 //loop through $strings array to test nl2br() function with each element27 var_dump(nl2br($str) );32 *** Testing nl2br() : usage variations ***
2 Test nl2br() function : usage variations - single quoted strings for 'str' argument5 /* Prototype : string nl2br(string $str);10 /* Test nl2br() function by passing single quoted strings containing various14 echo "*** Testing nl2br() : usage variations ***\n";37 //loop through $strings array to test nl2br() function with each element41 var_dump(nl2br($str) );47 *** Testing nl2br() : usage variations ***
2 Test nl2br() function : usage variations - double quoted strings for 'str' argument5 /* Prototype : string nl2br(string $str);10 /* Test nl2br() function by passing double quoted strings containing various14 echo "*** Testing nl2br() : usage variations ***\n";39 //loop through $strings array to test nl2br() function with each element43 var_dump(nl2br($str) );49 *** Testing nl2br() : usage variations ***
2 Test nl2br() function : usage variations - heredoc strings for 'str' argument5 /* Prototype : string nl2br(string $str);10 /* Test nl2br() function by passing heredoc strings containing various14 echo "*** Testing nl2br() : usage variations ***\n";32 var_dump(nl2br($heredoc_str1) );33 var_dump(nl2br($heredoc_str2) );38 *** Testing nl2br() : usage variations ***
72 PHP_FUNCTION(nl2br);
2771 PHP_FE(nl2br, arginfo_nl2br)
4359 PHP_FUNCTION(nl2br) argument
141 $Value = nl2br($Value);
Completed in 45 milliseconds