Re: Bug #20460 (Feature Request)
| From: | Sterling Hughes | Date: | Wed, 27 Nov 2002 20:50:25 +0000 |
| Subject: | Re: Bug #20460 (Feature Request) | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91837@lists.php.net to get a copy of this message | ||
> >> Derick Rethans <derick@php.net> wrote:
> >>
> >> > I don't like us adding a new ini entry for this, I think we should
> >> try another option:
> >> >
> >> > 4) Make sure we can use fscanf on a dynamically sized buffer. This
> >> will definitely the hardest solution, but also the most beautiful
> >> one.
> >>
> >
> I'll admit to not knowing what you mean by 'dynamically sized buffer's.
> Is there an example of another function which works with such?
>
a php function, not sure, spprintf() is a perfect example though (in C).
Basically, a dynamically sized buffer is a buffer that grows or shrinks
when necessary (dynamically :)
Anyhow, I've got fscanf() doing what you wanted in CVS (as well as the
release branch), give it a try, and see if it meets your needs.
-Sterling