From:             timstarling at hotmail dot com
Operating system: Linux
PHP version:      4.3.2
PHP Bug Type:     Strings related
Bug description:  sscanf doesn't work with %X

Description:
------------
sscanf doesn't work with a %X format string. %x does work.

Reproduce code:
---------------
var_dump(sscanf("1234","%X"));


Expected result:
----------------
array(1) {
  [0]=>
  int(4660)
}


Actual result:
--------------
array(1) {
  [0]=>
  NULL
}


-- 
Edit bug report at http://bugs.php.net/?id=25372&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25372&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25372&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25372&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25372&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25372&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25372&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25372&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25372&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25372&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25372&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25372&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25372&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25372&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25372&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25372&r=gnused

Reply via email to