1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
--TEST-- Testing Basic behaviour of strcoll() --CREDITS-- Sebastian Schürmann sebs@php.net Testfest 2009 Munich --FILE-- <?php $a = 'a'; $b = 'A'; setlocale (LC_COLLATE, 'C'); $result = strcoll($a, $b); if($result > 0) { echo "Pass\n"; } ?> --EXPECT-- Pass