note 86255 rejected from function.setlocale by danbrown
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: raj at ap dot krakow dot pl
----
Why strcmp("15355-1.jpg","15355.jpg") returns -1?
"15355.jpg" is shorter than "15355-1.jpg", so it should clearly be alphabetically earlier, so the result of comparison should be 1, and not -1.