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 >
- [PHP-DOC] Could somebody pls. correct a typo? Thomas
- Re: [PHP-DOC] Could somebody pls. correct a typo? Anil Madhavapeddy
- Re: [PHP-DOC] Could somebody pls. correct a typo? Thomas
- Re: [PHP-DOC] Could somebody pls. correct a typo? eschmid+sic
- Re: [PHP-DOC] Could somebody pls. correct a typo? Damien Seguy
- Re: [PHP-DOC] Could somebody pls. correct a typ... Daniel Beckham
- Re: [PHP-DOC] Could somebody pls. correct a typo? Rasmus Lerdorf
- Re: [PHP-DOC] Could somebody pls. correct a typo? Thomas
- Re: [PHP-DOC] Could somebody pls. correct a typ... Daniel Beckham
- Re: [PHP-DOC] Could somebody pls. correct a typo? Daniel Beckham
- Re: [PHP-DOC] Could somebody pls. correct a typ... Derick Rethans
- Re: [PHP-DOC] Could somebody pls. correct a typo? Daniel Beckham