zoe Wed Apr 29 07:49:45 2009 UTC Modified files: /php-src/ext/standard/tests/strings strcoll.phpt Log: Refixing to follow documented behaviour http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strcoll.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/standard/tests/strings/strcoll.phpt diff -u php-src/ext/standard/tests/strings/strcoll.phpt:1.3 php-src/ext/standard/tests/strings/strcoll.phpt:1.4 --- php-src/ext/standard/tests/strings/strcoll.phpt:1.3 Tue Apr 28 09:05:25 2009 +++ php-src/ext/standard/tests/strings/strcoll.phpt Wed Apr 29 07:49:45 2009 @@ -11,8 +11,11 @@ $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 +
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php