PHP 4.0 Bug #6893: feature request - makelinks() function
| From: | pgl at instinct dot org | Date: | Tue, 26 Sep 2000 23:36:44 +0000 |
| Subject: | PHP 4.0 Bug #6893: feature request - makelinks() function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33719@lists.php.net to get a copy of this message | ||
From: pgl@instinct.org
Operating system: N/A
PHP version: 4.0.2
PHP Bug Type: Feature/Change Request
Bug description: feature request - makelinks() function
I don't know if this is the best way to submit a feature request, but I think it would be handy
to have a builtin makelinks() function, to change all urls in a piece of text to actual links. eg,
changing "my homepage is at http://www.arse.net/"
to "my homepage is at <a href=http://www.arse.net/>http://www.arse.net/</a>".
'course, it's pretty easy to code this yourself, but then so is nl2br(), and having it as
part of the source would (maybe?) make it faster.