Re: Bug linking functionality
| From: | Derick Rethans | Date: | Sat, 21 Dec 2002 11:04:17 +0000 |
| Subject: | Re: Bug linking functionality | ||
| References: | 1 2 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-7376@lists.php.net to get a copy of this message | ||
On Sat, 21 Dec 2002, Moriyoshi Koizumi wrote:
> Hmm, this change seems to be a bit too kind because it replaces stack
> indexes in backtraces that begin with "#" also.
>
> How about
> -preg_replace('/#([0-9]+)/', "<a
> href=\"$PHP_SELF?id=\\1\">#\\1</a>",
> +preg_replace('/bug#([0-9]+)/', "<a
> href=\"$PHP_SELF?id=\\1\">#\\1</a>",
I did something similar, it should be better now.
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------