Home
last modified time | relevance | path

Searched refs:nl2br (Results 1 – 8 of 8) sorted by relevance

/PHP-8.0/ext/standard/tests/strings/
H A Dnl2br.phpt2 nl2br() function
5 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 …]
H A Dnl2br_variation4.phpt2 Test nl2br() function : usage variations - html values for 'str' argument
6 * Test nl2br() function by passing html string inputs containing line breaks and
10 echo "*** Testing nl2br() : usage variations ***\n";
20 //loop through $strings array to test nl2br() function with each element
22 var_dump(nl2br($str) );
27 *** Testing nl2br() : usage variations ***
H A Dnl2br_variation2.phpt2 Test nl2br() function : usage variations - single quoted strings for 'str' argument
5 /* Test nl2br() function by passing single quoted strings containing various
9 echo "*** Testing nl2br() : usage variations ***\n";
32 //loop through $strings array to test nl2br() function with each element
36 var_dump(nl2br($str) );
42 *** Testing nl2br() : usage variations ***
H A Dnl2br_variation1.phpt2 Test nl2br() function : usage variations - double quoted strings for 'str' argument
5 /* Test nl2br() function by passing double quoted strings containing various
9 echo "*** Testing nl2br() : usage variations ***\n";
34 //loop through $strings array to test nl2br() function with each element
38 var_dump(nl2br($str) );
44 *** Testing nl2br() : usage variations ***
H A Dnl2br_variation3.phpt2 Test nl2br() function : usage variations - heredoc strings for 'str' argument
5 /* Test nl2br() function by passing heredoc strings containing various
9 echo "*** Testing nl2br() : usage variations ***\n";
27 var_dump(nl2br($heredoc_str1) );
28 var_dump(nl2br($heredoc_str2) );
33 *** Testing nl2br() : usage variations ***
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php645 function nl2br(string $string, bool $use_xhtml = true): string {} function
H A Dbasic_functions_arginfo.h2495 ZEND_FUNCTION(nl2br);
3132 ZEND_FE(nl2br, arginfo_nl2br)
H A Dstring.c4449 PHP_FUNCTION(nl2br) argument

Completed in 67 milliseconds