Voting

: max(five, four)?
(Example: nine)

The Note You're Voting On

clcollie at mindspring dot com
26 years ago
Actually sscanf()_always_ returns an array if you specify less return variables than format specifiers. i may change this to return a scalar if only a single format specifier exists.
 Note that sscanf() is (almost) the complete functional equivalent of its "C" counterpart, so you can do the following to get the expected effect :
 sscanf("SN/2350001","SN/%d",&$serial)
The array return was a nicety for PHP.

<< Back to user notes page

AltStyle によって変換されたページ (->オリジナル) /