mirror of
https://github.com/php/php-src.git
synced 2026-03-30 12:13:02 +02:00
The strcoll function is defined in the C89 standard and should be on today's systems always available via the <string.h> header. https://port70.net/~nsz/c/c89/c89-draft.html#4.11.4.3 - Remove also SKIPIF strcoll check in test
21 lines
263 B
PHP
21 lines
263 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');
|
|
$result = strcoll($a, $b);
|
|
if($result > 0) {
|
|
echo "Pass\n";
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
Pass
|