[PHP-DEV] PHP 4.0 Bug #7793: sscanf() doesn't work with quatation marks From: rokas <email protected>
Date: 11/13/00

From: rokas <email protected>
Operating system: Linux
PHP version: 4.0.3pl1
PHP Bug Type: Strings related
Bug description: sscanf() doesn't work with quatation marks

sscanf($buffer,"<GroupBy GroupID=\"%s\" Value=\"%s\" />",$GroupID,$Value);

$buffer looks like <GroupBy GroupID="ID" Value="VA" />

I get $GroupID=ID" and no $Value set at all.
Why does it produce quatation mark at the end of string, I think it shouldn't do like this ...

-- 
Edit Bug report at: http://bugs.php.net/?id=7793&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>