From 7759ba8af745efe837ed87797d288172a3fcf2a3 Mon Sep 17 00:00:00 2001 From: Zoe Slattery Date: Wed, 29 Apr 2009 07:49:45 +0000 Subject: [PATCH] Refixing to follow documented behaviour --- ext/standard/tests/strings/strcoll.phpt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/ext/standard/tests/strings/strcoll.phpt b/ext/standard/tests/strings/strcoll.phpt index a90d38b7db3..6fbfa04a1c9 100644 --- a/ext/standard/tests/strings/strcoll.phpt +++ b/ext/standard/tests/strings/strcoll.phpt @@ -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 +