Re: Re: preg_replace_callback
| From: | Gabor Hojtsy | Date: | Tue, 19 Nov 2002 18:57:11 +0000 |
| Subject: | Re: Re: preg_replace_callback | ||
| References: | 1 2 3 4 | Groups: | php.doc php.mirrors |
| Request: | Send a blank email to phpdoc+get-969349799@lists.php.net to get a copy of this message | ||
> > I think this really badly documented in the documentation. I hope this
is
> > solved soon. To be more detailed: The preg_replace_callback()-function
> > documentation says it is the same as the preg_replacec()-function,
except
> > for the second argument. Apparently, it is not, since it doesn't
support
> > multiple patterns to be recognized and replaced. I think this should be
> > made clear. I suppose I'll be using the preg_replace(), then. Maybe
I'll
> > try to find the way-in-between, with the /e-modifier ... I thought the
> > callback-variant was more elegant, but I have to get it to work, so ...
>
> Please file a bugreport in the "Documentation problem" so that we won't
> forget this.
Just thinking about adding new URL shortcuts to ease this type of advice.
I can think of two shortcuts needed to open new bugs for website and doc
problems:
http://php.net/bug/docprob
http://php.net/bug/phpnet
Is this ok, or do you have better ideas or you think that these
are not needed?
Goba