Re[2]: [PEAR-DEV] Re: File_SearchReplace API and versioning
| From: | anatoly techtonik | Date: | Sun, 18 Dec 2005 14:04:10 +0000 |
| Subject: | Re[2]: [PEAR-DEV] Re: File_SearchReplace API and versioning | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-3338@lists.php.net to get a copy of this message | ||
||*()*|| [\..konnichi wa, ogenki desu ka, Arnaud../]
Monday, December 5, 2005, 8:14:09 AM, you wrote:
>> Please answer this questions for me without reading package docs just
>> to understand your POV.
>>
>> Does "doSearch(false)" construction make sense for you?
>> What should it do if it does?
>> Is it obvious for everybody else?
>> What should doSearch() do in your opinion _by default_ in a
>> package with doReplace() method?
AL> If you were talking about a new package then yes. *But*
AL> File_SearchReplace was released a long time ago and you cannot change a
AL> default behaviour or you will break BC.
AL> Make it doSearch('search') if you want.
I doubt anybody want such obscure API. That's why a new proposal was started
for FSR2.
WBR.techtonik
--
(B)uilding, (A)ntenna, (S)pan and (E)arth
* terminal velocity - 54m/s, 305m *