Re: Bug #20460 (Feature Request)

From: Date: Wed, 27 Nov 2002 20:42:15 +0000
Subject: Re: Bug #20460 (Feature Request)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-91835@lists.php.net to get a copy of this message
Sterling Hughes <sterling@bumblebury.com> wrote: > > > 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. Right, I just missed a big point about the scanf behaviour :) Moriyoshi > -Sterling

« previous php.dev (#91835) next »