Re: fgets()/fgetss() BC break in HEAD
| From: | Pierre | Date: | Tue, 14 Nov 2006 18:59:38 +0000 |
| Subject: | Re: fgets()/fgetss() BC break in HEAD | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26573@lists.php.net to get a copy of this message | ||
Hello,
On 11/14/06, Antony Dovgal <antony@zend.com> wrote:
On 11/14/2006 08:56 PM, Pierre wrote: Hello, On 11/14/06, Stanislav Malyshev <stas@zend.com> wrote:Indeed no, but I only said that the affected users can be small. But I don't really worry about this issue, if we cannot break such things in major versions, when can we do it (this one or another)? For the record, I'm in favour of changing the name of the argument and restore the old behavior, problem solved. --PierreThe comparison Tony made was between <=5.X and PHP 6, I do not believe anyone is suggesting to modify the 5.2.x behavior.I have to agree, it is purely a cosmetic change. "Renaming" the argument can make the purists happier. However, as a counter argument, a quick search in codesearch/koders show that very few people rely on this behavior. I don't think the number of people relying on this behaviour changes the fact that it's a BC break.Yes, I noticed later it's PHP 6, but it does not change a thing - it's still totally unnecessary BC break for the sake of meaningless purism. It adds nothing to the language or functionality and would break a lot of code. It should be fixed to be compatible with previous versions.