[PHP-DEV] nl2br is broken in PHP4.3.0pre1
Hi, It seems like the nl2br() function is broken when the input string does not contain any newlines. [sagi@domino tmp]$ php -v PHP 4.3.0-pre1 (cli), Copyright (c) 1997-2002 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies [sagi@domino tmp]$ cat test.php ?php print nl2br('hello world').\n; print nl2br(hello world\n).\n; ? [sagi@domino tmp]$ php test.php !x7 hello worldbr / [sagi@domino tmp]$ It looks like someone already filed a bug report: http://bugs.php.net/bug.php?id=19858 Any news about this? Sagi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] nl2br is broken in PHP4.3.0pre1
Hey, this is already fixed in CVS. thanks, Derick On Wed, 16 Oct 2002, Sagi Bashari wrote: Hi, It seems like the nl2br() function is broken when the input string does not contain any newlines. [sagi@domino tmp]$ php -v PHP 4.3.0-pre1 (cli), Copyright (c) 1997-2002 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies [sagi@domino tmp]$ cat test.php ?php print nl2br('hello world').\n; print nl2br(hello world\n).\n; ? [sagi@domino tmp]$ php test.php !x7 hello worldbr / [sagi@domino tmp]$ It looks like someone already filed a bug report: http://bugs.php.net/bug.php?id=19858 Any news about this? Sagi -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php -- --- Derick Rethans http://derickrethans.nl/ JDI Media Solutions --[ if you hold a unix shell to your ear, do you hear the c? ]- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DEV] nl2br is broken in PHP4.3.0pre1
Derick Rethans writes: Hey, this is already fixed in CVS. thanks, Derick Have you decided yet on the release cycle for 4.3? Are we any closer to branching 4.3.0 or are we going to do 4.3.0pr2 for further testing, or? :) Regards Mike Robinson -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-DEV] nl2br is broken in PHP4.3.0pre1
On Wed, 16 Oct 2002, Mike Robinson wrote: Have you decided yet on the release cycle for 4.3? Are we any closer to branching 4.3.0 or are we going to do 4.3.0pr2 for further testing, or? :) That's all up to Andrei, but I would favor for a pre2 during the next week for further testing, but it looks good so far. Derick -- --- Derick Rethans http://derickrethans.nl/ JDI Media Solutions --[ if you hold a unix shell to your ear, do you hear the c? ]- -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] nl2br is broken in PHP4.3.0pre1
On Wed, 16 Oct 2002, Derick Rethans wrote: That's all up to Andrei, but I would favor for a pre2 during the next week for further testing, but it looks good so far. Yes, we'll make another 'pre' release early next week. Lots of good bugs have been fixed since pre1. -Andrei http://www.gravitonic.com/ Magic 8-ball is much more powerful than we thought. I mean, back in the 70's it was predicting the nature of software in the 90's -- Outlook not so good. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] nl2br is broken in PHP4.3.0pre1
On Wed, 16 Oct 2002, Andrei Zmievski wrote: On Wed, 16 Oct 2002, Derick Rethans wrote: That's all up to Andrei, but I would favor for a pre2 during the next week for further testing, but it looks good so far. Yes, we'll make another 'pre' release early next week. Lots of good bugs have been fixed since pre1. Just wondering..but what is a 'good bug' ? IMO, every bug is BAD. :) --Jani -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-DEV] nl2br is broken in PHP4.3.0pre1
Jani Taskinen [EMAIL PROTECTED] wrote: Just wondering..but what is a 'good bug' ? IMO, every bug is BAD. :) evil ones :) -- Maxim Maletsky [EMAIL PROTECTED] -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php