array_sscanf("foo - bar 1", "%s%d");
(1) Result: ({ /* 1 element */ "foo " })
That doesn't look right to me. Shouldn't sscanf() check that it's an actual number, not just assume that the '-' signals a new, negative number?
pike-devel@lists.lysator.liu.se