Re: File_SearchReplace
| From: | Arnaud Limbourg | Date: | Thu, 17 Nov 2005 19:37:18 +0000 |
| Subject: | Re: File_SearchReplace | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-3261@lists.php.net to get a copy of this message | ||
> For now the problems
> 1. I don't have access to pearweb to release a File_SearchReplace
> package even with CVS karma and
Someone from QA can take care of this if the CVS is ready and the only
thing needed is to roll a release.
> 2. I need to introduce new functionality, which will be BC break
> to File_SearchReplace
You will have to make it optionnal or implement it in such a way as to
not break BC.
The only BC break way will be to create File_SearchReplace2.
From the mail you posted [1] it looks like you could do
doSearch($replace = true); If you want to have replace explicit add a
property that sets the default behaviour.
The current default is to replace, it cannot be changed.
[1] http://marc.theaimsgroup.com/?l=pear-dev&m=111057022622511&w=2
Arnaud.