1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00
Files
archived-php-src/ext/standard/tests/strings/strcoll.phpt
Sebastian Schürmann da32e6e2d9 - Initial commit
2009-04-25 18:33:50 +00:00

18 lines
251 B
PHP

--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