From:             [EMAIL PROTECTED]
Operating system: Linux6.2
PHP version:      4.0.5
PHP Bug Type:     Strings related
Bug description:  bad operation of nl2br function 

nl2br function seems do not operate correctly.
For example,
$a = "aaa
bbb";
$b = nl2br ($a);

The correct value of $b is following:
"aaa<br>
bbb"

But I got the wrong value like this:
"aaa
<br />
bbb"

FYI, I have used PHP language for 2 years and 
the same code I tried worked well at the prior versions (PHP3.x, PHP4.0 ~ PHP4.0.4)


-- 
Edit Bug report at: http://bugs.php.net/?id=11075&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to