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
$b = nl2br ($a);

The correct value of $b is following:

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

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:

PHP Development Mailing List <>
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