File: normalizer.stub.php

package info (click to toggle)
php8.4 8.4.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 208,108 kB
  • sloc: ansic: 1,060,628; php: 35,345; sh: 11,866; cpp: 7,201; pascal: 4,913; javascript: 3,091; asm: 2,810; yacc: 2,411; makefile: 689; xml: 446; python: 301; awk: 148
file content (49 lines) | stat: -rw-r--r-- 1,464 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php

/** @generate-class-entries */

class Normalizer
{
    /** @cvalue NORMALIZER_FORM_D */
    public const int FORM_D = UNKNOWN;
    /** @cvalue NORMALIZER_NFD */
    public const int NFD = UNKNOWN;
    /** @cvalue NORMALIZER_FORM_KD */
    public const int FORM_KD = UNKNOWN;
    /** @cvalue NORMALIZER_NFKD */
    public const int NFKD = UNKNOWN;
    /** @cvalue NORMALIZER_FORM_C */
    public const int FORM_C = UNKNOWN;
    /** @cvalue NORMALIZER_NFC */
    public const int NFC = UNKNOWN;
    /** @cvalue NORMALIZER_FORM_KC */
    public const int FORM_KC = UNKNOWN;
    /** @cvalue NORMALIZER_NFKC */
    public const int NFKC = UNKNOWN;
#if U_ICU_VERSION_MAJOR_NUM >= 56
    /** @cvalue NORMALIZER_FORM_KC_CF */
    public const int FORM_KC_CF = UNKNOWN;
    /** @cvalue NORMALIZER_NFKC_CF */
    public const int NFKC_CF = UNKNOWN;
#endif

    /**
     * @tentative-return-type
     * @alias normalizer_normalize
     */
    public static function normalize(string $string, int $form = Normalizer::FORM_C): string|false {}

    /**
     * @tentative-return-type
     * @alias normalizer_is_normalized
     */
    public static function isNormalized(string $string, int $form = Normalizer::FORM_C): bool {}

#if U_ICU_VERSION_MAJOR_NUM >= 56
    /**
     * @tentative-return-type
     * @alias normalizer_get_raw_decomposition
     */
    public static function getRawDecomposition(string $string, int $form = Normalizer::FORM_C): ?string {}
#endif
}