Re: Bug #20460 (Feature Request)
| From: | Sterling Hughes | Date: | Wed, 27 Nov 2002 20:34:02 +0000 |
| Subject: | Re: Bug #20460 (Feature Request) | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91834@lists.php.net to get a copy of this message | ||
> > err. it didn't need a reimplementation, i fixed it, it works fine in cvs.
>
> Then,
>
> <?php
> $buf = "123 456 \0 567"
> sscanf($buf, "%d%d%s%d", $a, $b, $c, $d);
> var_dump($a, $b, $c, $d);
> ?>
>
> How about this?
>
> The result was the same as for fscanf.
>
Yes, but it didn't need a reimplementation as far as using arbitrary buffer
sizes.
-Sterling