1
0
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:
Zoe Slattery
2009-04-29 07:49:45 +00:00
parent 31f3c2ad47
commit 7759ba8af7

View File

@@ -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