php-src/ext/intl/normalizer/normalizer.stub.php
Christoph M. Becker 3815a773a1
Close GH-16659: Bump ICU requirement to ICU >= 57.1
This requirements bump should rarely affect anybody in practice.  All
major distros already ship more recent ICU versions, and even for
Solaris 11, ICU 57.1 is available via OpenCSW.  Note that ICU 57.1 has
been released on 2016-03-23[1].

[1] <https://icu.unicode.org/download/57>

Closes GH-16688.
2024-11-14 01:30:48 +01:00

45 lines
1.3 KiB
PHP

<?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;
/** @cvalue NORMALIZER_FORM_KC_CF */
public const int FORM_KC_CF = UNKNOWN;
/** @cvalue NORMALIZER_NFKC_CF */
public const int NFKC_CF = UNKNOWN;
/**
* @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 {}
/**
* @tentative-return-type
* @alias normalizer_get_raw_decomposition
*/
public static function getRawDecomposition(string $string, int $form = Normalizer::FORM_C): ?string {}
}