mirror of
https://github.com/php/php-src.git
synced 2026-04-11 10:03:18 +02:00
Refixing to follow documented behaviour
This commit is contained in:
@@ -11,8 +11,11 @@ Testfest 2009 Munich
|
||||
$b = 'A';
|
||||
|
||||
setlocale (LC_COLLATE, 'C');
|
||||
print "C: " . strcoll ($a, $b) . "\n"; // prints 32
|
||||
$result = strcoll($a, $b);
|
||||
if($result > 0) {
|
||||
echo "Pass\n";
|
||||
}
|
||||
?>
|
||||
--EXPECTF--
|
||||
Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
|
||||
C: -1
|
||||
--EXPECT--
|
||||
Pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user