From:             [EMAIL PROTECTED]
Operating system: Linux 2.4.9 (redhat 6.2)
PHP version:      4.0.6
PHP Bug Type:     Unknown/Other Function
Bug description:  sscanf don't like the next character following the field definition.

$string = "aaa:bbb:ccc:ddd";
list($a,$b,$c,$d) = sscanf($string,"%s:%s:%s:%s");
print "$a,$b,$c,$d\n";

$string will be contained in $a instead of being splitted in $a,$b,$c,$d.
-- 
Edit bug report at: http://bugs.php.net/?id=13518&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to