Re: fgets()/fgetss() BC break in HEAD

From: Date: Tue, 14 Nov 2006 21:48:54 +0000
Subject: Re: fgets()/fgetss() BC break in HEAD
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-26582@lists.php.net to get a copy of this message
As I told tony in IRC, I don't care if the behavior gets changed back to 5.2 style, although I don't think this is a BC we need to worry about keeping. I'll lay money that NOONE is relying on this, and I challenge any of you to prove me wrong on that count.
How much money? ;) Anyway, if nobody really cares for that, more the reason to leave it alone. If it ain't broken, you know.
If y'all do want maxcharsminusone behavior for the argument, fine, but rename the arg to something else. maxchars means "I want this many characters or less", not "I want one less than this many characters{or less}".
Call it "limit" if you care for that. Limit can mean anything :) -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/

« previous php.internals (#26582) next »