> > 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php