summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/strcoll.phpt
blob: 6fbfa04a1c98a92c4c1e1a22cb48995e986737e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--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";
}
?>
--EXPECT--
Pass