]> granicus.if.org Git - php/commitdiff
Refixing to follow documented behaviour
authorZoe Slattery <zoe@php.net>
Wed, 29 Apr 2009 07:52:03 +0000 (07:52 +0000)
committerZoe Slattery <zoe@php.net>
Wed, 29 Apr 2009 07:52:03 +0000 (07:52 +0000)
ext/standard/tests/strings/strcoll.phpt

index a50a659a6940f52e86d99bed6f879530cb335d7a..6fbfa04a1c98a92c4c1e1a22cb48995e986737e5 100644 (file)
@@ -11,7 +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";
+}
 ?>
 --EXPECT--
-C: 32
+Pass
+