php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
collator.stub.php
Go to the documentation of this file.
1<?php
2
4
9const ULOC_ACTUAL_LOCALE = UNKNOWN;
14const ULOC_VALID_LOCALE = UNKNOWN;
15
18{
20 public const int DEFAULT_VALUE = UNKNOWN;
21
23 public const int PRIMARY = UNKNOWN;
25 public const int SECONDARY = UNKNOWN;
27 public const int TERTIARY = UNKNOWN;
29 public const int DEFAULT_STRENGTH = UNKNOWN;
31 public const int QUATERNARY = UNKNOWN;
33 public const int IDENTICAL = UNKNOWN;
34
36 public const int OFF = UNKNOWN;
38 public const int ON = UNKNOWN;
39
41 public const int SHIFTED = UNKNOWN;
43 public const int NON_IGNORABLE = UNKNOWN;
44
46 public const int LOWER_FIRST = UNKNOWN;
48 public const int UPPER_FIRST = UNKNOWN;
49
50 /* UColAttribute constants */
51
53 public const int FRENCH_COLLATION = UNKNOWN;
55 public const int ALTERNATE_HANDLING = UNKNOWN;
57 public const int CASE_FIRST = UNKNOWN;
59 public const int CASE_LEVEL = UNKNOWN;
61 public const int NORMALIZATION_MODE = UNKNOWN;
63 public const int STRENGTH = UNKNOWN;
65 public const int HIRAGANA_QUATERNARY_MODE = UNKNOWN;
67 public const int NUMERIC_COLLATION = UNKNOWN;
68
69 /* sort flags */
70
72 public const int SORT_REGULAR = UNKNOWN;
74 public const int SORT_STRING = UNKNOWN;
76 public const int SORT_NUMERIC = UNKNOWN;
77
78 public function __construct(string $locale) {}
79
84 public static function create(string $locale): ?Collator {}
85
90 public function compare(string $string1, string $string2): int|false {}
91
96 public function sort(array &$array, int $flags = Collator::SORT_REGULAR): bool {}
97
102 public function sortWithSortKeys(array &$array): bool {}
103
108 public function asort(array &$array, int $flags = Collator::SORT_REGULAR): bool {}
109
114 public function getAttribute(int $attribute): int|false {}
115
120 public function setAttribute(int $attribute, int $value): bool {}
121
126 public function getStrength(): int {}
127
132 public function setStrength(int $strength): true {}
133
138 public function getLocale(int $type): string|false {}
139
144 public function getErrorCode(): int|false {}
145
150 public function getErrorMessage(): string|false {}
151
156 public function getSortKey(string $string): string|false {}
157}
const int FRENCH_COLLATION
const int NUMERIC_COLLATION
getLocale(int $type)
const int TERTIARY
const int SECONDARY
compare(string $string1, string $string2)
const int NORMALIZATION_MODE
const int SORT_NUMERIC
getAttribute(int $attribute)
setAttribute(int $attribute, int $value)
static create(string $locale)
const int OFF
const int SORT_REGULAR
const int DEFAULT_STRENGTH
const int DEFAULT_VALUE
const int SHIFTED
const int STRENGTH
const int ALTERNATE_HANDLING
asort(array &$array, int $flags=Collator::SORT_REGULAR)
const int NON_IGNORABLE
const int ON
const int UPPER_FIRST
sort(array &$array, int $flags=Collator::SORT_REGULAR)
const int PRIMARY
const int LOWER_FIRST
const int QUATERNARY
const int HIRAGANA_QUATERNARY_MODE
getSortKey(string $string)
const int CASE_FIRST
const int IDENTICAL
sortWithSortKeys(array &$array)
setStrength(int $strength)
const int SORT_STRING
__construct(string $locale)
const int CASE_LEVEL
const ULOC_ACTUAL_LOCALE
const ULOC_VALID_LOCALE
$array
Definition test.php:58
function(EX_VAR(opline->result.var))