How silly of me. I need blood suger.
/ Martin Nilsson (provokatör)
Previous text:
2004-03-23 15:54: Subject: 7.6
array_sscanf("\xff\xff","%+1c")[0];
(15) Result: -1
array_sscanf("\xff\xfe","%+1c")[0];
(16) Result: -1
array_sscanf("\xff\xfe","%+-1c")[0];
(17) Result: -1
array_sscanf("\xff\xfe","%-+1c")[0];
(18) Result: -1
Looks correct to me. What behaviour did you expect?
Did you perhaps mean the following?
array_sscanf("\xff\xff","%+2c")[0];
(1) Result: -1
array_sscanf("\xff\xfe","%+2c")[0];
(2) Result: -2
array_sscanf("\xff\xfe","%+-2c")[0];
(3) Result: -257
array_sscanf("\xff\xfe","%-+2c")[0];
(4) Result: -257
/ Henrik Grubbström (Lysator)