note 86255 added to function.setlocale
| From: | raj at ap dot krakow dot pl | Date: | Thu, 09 Oct 2008 17:19:24 +0000 |
| Subject: | note 86255 added to function.setlocale | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145220@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 82.177.164.100
Probable Submitter: 149.156.26.251
----
Manual Page -- http://www.php.net/manual/en/function.setlocale.php
Edit -- https://master.php.net/note/edit/86255
Del: integrated -- https://master.php.net/note/delete/86255/integrated
Del: useless -- https://master.php.net/note/delete/86255/useless
Del: bad code -- https://master.php.net/note/delete/86255/bad+code
Del: spam -- https://master.php.net/note/delete/86255/spam
Del: non-english -- https://master.php.net/note/delete/86255/non-english
Del: in docs -- https://master.php.net/note/delete/86255/in+docs
Del: other reasons-- https://master.php.net/note/delete/86255
Reject -- https://master.php.net/note/reject/86255
Search -- https://master.php.net/manage/user-notes.php