php-src/ext/standard/tests/strings/strcoll.phpt

24 lines
322 B
Plaintext
Raw Normal View History

2009-04-25 18:33:50 +00:00
--TEST--
Testing Basic behaviour of strcoll()
--CREDITS--
Sebastian Schürmann
sebs@php.net
Testfest 2009 Munich
2009-05-01 19:32:15 +00:00
--XFAIL--
Needs a fix : http://news.php.net/php.qa/64836
2009-04-25 18:33:50 +00:00
--FILE--
<?php
$a = 'a';
$b = 'A';
2009-05-01 19:32:15 +00:00
locale_set_default('en_US');
$result = strcoll($a, $b);
if($result > 0) {
echo "Pass\n";
}
2009-04-25 18:33:50 +00:00
?>
--EXPECT--
Pass