1<?php
2
3/** @generate-class-entries */
4
5class Normalizer
6{
7    /**
8     * @var int
9     * @cvalue NORMALIZER_FORM_D
10     */
11    public const FORM_D = UNKNOWN;
12    /**
13     * @var int
14     * @cvalue NORMALIZER_NFD
15     */
16    public const NFD = UNKNOWN;
17    /**
18     * @var int
19     * @cvalue NORMALIZER_FORM_KD
20     */
21    public const FORM_KD = UNKNOWN;
22    /**
23     * @var int
24     * @cvalue NORMALIZER_NFKD
25     */
26    public const NFKD = UNKNOWN;
27    /**
28     * @var int
29     * @cvalue NORMALIZER_FORM_C
30     */
31    public const FORM_C = UNKNOWN;
32    /**
33     * @var int
34     * @cvalue NORMALIZER_NFC
35     */
36    public const NFC = UNKNOWN;
37    /**
38     * @var int
39     * @cvalue NORMALIZER_FORM_KC
40     */
41    public const FORM_KC = UNKNOWN;
42    /**
43     * @var int
44     * @cvalue NORMALIZER_NFKC
45     */
46    public const NFKC = UNKNOWN;
47#if U_ICU_VERSION_MAJOR_NUM >= 56
48    /**
49     * @var int
50     * @cvalue NORMALIZER_FORM_KC_CF
51     */
52    public const FORM_KC_CF = UNKNOWN;
53    /**
54     * @var int
55     * @cvalue NORMALIZER_NFKC_CF
56     */
57    public const NFKC_CF = UNKNOWN;
58#endif
59
60    /**
61     * @tentative-return-type
62     * @alias normalizer_normalize
63     */
64    public static function normalize(string $string, int $form = Normalizer::FORM_C): string|false {}
65
66    /**
67     * @tentative-return-type
68     * @alias normalizer_is_normalized
69     */
70    public static function isNormalized(string $string, int $form = Normalizer::FORM_C): bool {}
71
72#if U_ICU_VERSION_MAJOR_NUM >= 56
73    /**
74     * @tentative-return-type
75     * @alias normalizer_get_raw_decomposition
76     */
77    public static function getRawDecomposition(string $string, int $form = Normalizer::FORM_C): ?string {}
78#endif
79}
80