Req #51483 [Opn->Sus]: nl2p() function

From: Date: Tue, 08 May 2018 19:23:12 +0000
Subject: Req #51483 [Opn->Sus]: nl2p() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-215167@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=51483&edit=1 ID: 51483 Updated by: cmb@php.net Reported by: franz at fluxbb dot org Summary: nl2p() function -Status: Open +Status: Suspended Type: Feature/Change Request -Package: Unknown/Other Function +Package: Strings related Operating System: any PHP Version: Irrelevant Block user comment: N Private report: N New Comment: I don't think that nl2br() actually deserves to be in core PHP, since it can easily be written in userland. Adding yet another string function for a similar purpose is questionable, so it would at least require discussion on the internals mailing list[1], and maybe the RFC process[2]. For the time being, I'm suspending this ticket. [1] <http://www.php.net/mailing-lists.php> [2] <https://wiki.php.net/rfc/howto> Previous Comments: ------------------------------------------------------------------------ [2010-04-05 20:05:12] franz at fluxbb dot org Description: ------------ The nl2br() function has been very benefitial to many people, I suppose. However, these days it is seen as much nicer to wrap paragraphs in <p> tags rather than using <br> to split them up. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=51483&edit=1

« previous php.bugs (#215167) next »