Date: 05/24/01
- Next message: ommadawn <email protected>: "[PHP-DEV] Bug #10522 Updated: system and exec doesn't return output"
- Previous message: Stig Sæther Bakken: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c"
- Next in thread: Brian Tanner: "RE: [PHP-DEV] Bug #11075: bad operation of nl2br function"
- Reply: Brian Tanner: "RE: [PHP-DEV] Bug #11075: bad operation of nl2br function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: jkkim <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: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: ommadawn <email protected>: "[PHP-DEV] Bug #10522 Updated: system and exec doesn't return output"
- Previous message: Stig Sæther Bakken: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /sapi/cgi cgi_main.c"
- Next in thread: Brian Tanner: "RE: [PHP-DEV] Bug #11075: bad operation of nl2br function"
- Reply: Brian Tanner: "RE: [PHP-DEV] Bug #11075: bad operation of nl2br function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

