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