RE: [PHP] nl2br returns <BR />? normality or a bug?

From: Date: Sat, 06 Apr 2002 00:22:57 +0000
Subject: RE: [PHP] nl2br returns <BR />? normality or a bug?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91827@lists.php.net to get a copy of this message
On Sat, 6 Apr 2002, Maxim Maletsky wrote: > But again (I like insisting on such things), > Why do I have it now and didn't have it before? Why did it change > anyway? I haven't seen it on any other my server and I use it quite a > lot. Directly from the manual: Note: Starting with PHP 4.0.5, nl2br() is now XHTML compliant. All versions before 4.0.5 will return string with '<br>' inserted before newlines instead of '<br />'. http://www.php.net/manual/en/function.nl2br.php Regards.

« previous php.general (#91827) next »