Re: Bug #20460 (Feature Request)

From: Date: Wed, 27 Nov 2002 19:39:33 +0000
Subject: Re: Bug #20460 (Feature Request)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-91820@lists.php.net to get a copy of this message
> User complains that maximum length of a line used by fscanf is too short > (he has lines > 1600 chars). Looking at file.h I agree (it's only 512). > > The user requested two options: > > 1) Add an optional length field. > No way to do that without breaking parameter list. :( > > 2) Increase to a larger arbitrary number. > This simply has the problem that it may prove too short eventually as well. > > Plus I came up with a third option: > > 3) Create an .ini entry to specify the maximum length used. > I think this has the best overall return on it. > The thing is that just feels kinda dirty (an ini option controlling how long a line should be assumed for fscanf, but I agree there is no really good solution), unless of course it means changing the parameter order to fscanf(). -Sterling

« previous php.dev (#91820) next »