]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Tue, 28 Apr 2009 09:05:25 +0000 (09:05 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 28 Apr 2009 09:05:25 +0000 (09:05 +0000)
ext/standard/tests/strings/strcoll.phpt

index 896f3fd43b931279cff5a70c11bd7d787f463ab4..a90d38b7db3a98604c2f9265c3e930181a078ff7 100644 (file)
@@ -11,7 +11,8 @@ Testfest 2009 Munich
  $b = 'A';
 
 setlocale (LC_COLLATE, 'C');
-print "C: " . strcoll ($a, $b) . "\n"; // prints 1
+print "C: " . strcoll ($a, $b) . "\n"; // prints 32
 ?>
---EXPECT--
-C: 1
+--EXPECTF--
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
+C: -1