You are here: Re: str_ireplace() for php4? « PHP Programming Language « IT news, forums, messages
Re: str_ireplace() for php4?

Posted by Chung Leong on 03/12/06 17:41

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация