Re: Re: [ANNOUNCEMENT] File_Find-1.3.0 (stable)Released.

From: Date: Sat, 01 Jul 2006 10:27:23 +0000
Subject: Re: Re: [ANNOUNCEMENT] File_Find-1.3.0 (stable)Released.
References: 1 2 3 4 5 6 7  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-3879@lists.php.net to get a copy of this message
techtonik wrote:
upgrade. Every package bugfix is a BC break and I can find such things in almost every release. Once more - possible BC scenario doesn't
Correct. Yes its a question of categorization, but in most cases its a fairly straight forward one. If my connect method is unable to connect, then fixing that is a bugfix and not a BC break. If I change the behaviour on MDB2 to default to "new_link" in connect then its a BC break, even if that is the more logical default.
Ok. It was a bug. I just forgot to mention it was a bug. My File_Find method was unable to use streams, which are supported by PHP functions. And this was caused by this slash replacement code, which affects output in some situations on windows.
So the purpose of the static methods was to leverage the streams API, but due to this bug this failed? Sounds like a bug fix to me.
worth the efforts, needless to say that this optionnes will make code more complicated and may affect performance like thousands of unreplaced double quotes.
Heh, so a single if is going to kill performance? Not even 10 or 20 should have a relevant effect considering that PEAR code is not meant to run yahoo.com.
If this will not kill the performance then why these holy wars about single quotes? Considering that the package methods are meant to be
There are no holy wars about single quotes. Otherwise it would be in the CS.
called static you need more efforts than add some ifs - probably to add additional params to function calls, which are better to be reserved for something more useful like stream contexts.
Ok. regards, Lukas

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