On Tue, November 14, 2006 2:59 pm, Sara Golemon wrote: > keeping. I'll lay money that NOONE is relying on this, and I > challenge > any of you to prove me wrong on that count.
Errrr. You may want to re-think that bet... Surely somebody out there has: <?php $field_X = fgets($file, 10); //get the next 9 bytes $field_Y = fgets($file, 4); //get the next 3 bytes ?> even if you and I both know how horrible that code without error-checking is. There's probably somebody who even went to the trouble of error-checking their fgets() calls to be sure they got the right number of bytes. I'm not wasting my time to find code like this to win the bet, but if Vegas was giving odds, I'd put money against ya. If you REALLY wanted this BC-breaking behaviour for a Good Reason, or even a Bad Reason... As it is, seems like it's something to just revert and live with the documented mis-behaviour. Or change the docs and the variable name to something other than maxchars is a perfect solution. :-) -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php