This was changed by Jon on Dec.28, 2000.

http://cvsweb.php.net/viewcvs.cgi/php4/ext/standard/string.c.diff?r1=1.176&r2=1.177

PHP 4.0.4 was released before then.

-Rasmus

On Fri, 20 Apr 2001, Damien Seguy wrote:

> Hi,
>
> > > > > -> would somebody pls. correct <br/> to <br> in both lagunages?
> > > > That's not a typo.  nl2br() uses XHTML <br /> tags since PHP-4.0.4
> > Thats the correct syntax nowadays.
> Are you sure of this? I just tested it on a 4.0.4pl1 version, and it still
> gives me <br>.
> Or this may be browser dependent?  Or am I missing something?
>
> Best regards,
> Damien Seguy
>

Reply via email to