1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 12:13:02 +02:00
Files
archived-php-src/ext/standard/tests/strings/strcoll.phpt
Peter Kokot 638c21765c Remove HAVE_STRCOLL check
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
2019-06-28 00:05:55 +02:00

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