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

22 lines
264 B
Plaintext
Raw Normal View History

2009-04-25 11:23:01 +00:00
--TEST--
Testing Basic behaviour of strcoll()
--CREDITS--
Sebastian Schürmann
sebs@php.net
Testfest 2009 Munich
--FILE--
<?php
$a = 'a';
$b = 'A';
setlocale (LC_COLLATE, 'C');
$result = strcoll($a, $b);
if($result > 0) {
echo "Pass\n";
}
2009-04-25 11:23:01 +00:00
?>
--EXPECT--
Pass