Re: Bug #20460 (Feature Request)
| From: | Moriyoshi Koizumi | Date: | Wed, 27 Nov 2002 20:34:39 +0000 |
| Subject: | Re: Bug #20460 (Feature Request) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91832@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.
Moriyoshi
>
> -Sterling
>
>
> > Moriyoshi
> >
> > > Derick
> > >
> > > --
> > >
> > > -------------------------------------------------------------------------
> > > Derick Rethans
> > > http://derickrethans.nl/
> > > PHP Magazine - PHP Magazine for Professionals
> > > http://php-mag.net/
> > > -------------------------------------------------------------------------
> > >
> > >
> > > --
> > > PHP Development Mailing List
> > > <http://www.php.net/>
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >