]> granicus.if.org Git - php/commitdiff
- Initial commit
authorSebastian Schürmann <sebs@php.net>
Sat, 25 Apr 2009 18:36:04 +0000 (18:36 +0000)
committerSebastian Schürmann <sebs@php.net>
Sat, 25 Apr 2009 18:36:04 +0000 (18:36 +0000)
ext/standard/tests/strings/strcoll.phpt [new file with mode: 0644]

diff --git a/ext/standard/tests/strings/strcoll.phpt b/ext/standard/tests/strings/strcoll.phpt
new file mode 100644 (file)
index 0000000..896f3fd
--- /dev/null
@@ -0,0 +1,17 @@
+--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');
+print "C: " . strcoll ($a, $b) . "\n"; // prints 1
+?>
+--EXPECT--
+C: 1