Re: Re: File_SearchReplace API and versioning

From: Date: Tue, 06 Dec 2005 11:22:02 +0000
Subject: Re: Re: File_SearchReplace API and versioning
References: 1 2 3 4 5 6 7 8  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-3316@lists.php.net to get a copy of this message
Quoting Helgi Þormar <dufuz@php.net>:
On Mon, 05 Dec 2005 21:17:48 +0100, Arnaud Limbourg wrote:
Arnaud Limbourg wrote: To follow up on that Make it $class->setReadOnly(true); That way you offer the new behaviour while keeping BC.
Just my 5 cents ... the way Arnaud just said is the way to go if you want to keep BC and skip the whole new package thing. What I propose is that you do something along the line of what Arnaud said, to keep BC but at the same time make a v2 package which does it the way you want it but at the same time is PHP 5.1 only (given that there isn't any core thing that already does this thing, which I really doubt) That's how I see it :)
I second that. Keep BC on the existing package and make a PHP5 version as FileSearchReplace2. Do we agree ? Arnaud.

« previous php.pear.qa (#3316) next »