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