Re: str_ireplace() for php4?
- From: "Chung Leong" <chernyshevsky@xxxxxxxxxxx>
- Date: 12 Mar 2006 07:41:31 -0800
Janwillem Borleffs wrote:
Toby Inkster wrote:
What if $str contained "\1"?
You probably mean "\\1", which will contain pattern matches grouped by
parenthesis, but these will be ignored as preg_quote is used to escape the
parenthesis when occurring in $needle.
Actually, \1 would end up being an empty string if the pattern doesn't
specify capturing.
.
- References:
- str_ireplace() for php4?
- From: Simon
- Re: str_ireplace() for php4?
- From: Janwillem Borleffs
- Re: str_ireplace() for php4?
- From: Simon
- Re: str_ireplace() for php4?
- From: Janwillem Borleffs
- Re: str_ireplace() for php4?
- From: Toby Inkster
- Re: str_ireplace() for php4?
- From: Janwillem Borleffs
- str_ireplace() for php4?
- Prev by Date: Re: how do people feel about the PEAR db class?
- Next by Date: Re: Form Security
- Previous by thread: Re: str_ireplace() for php4?
- Next by thread: Re: str_ireplace() for php4?
- Index(es):
Relevant Pages
|