mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

Closes GH-4819 - Add stubs for idn functions - Add stubs for grapheme functions - Add stubs for Spoofchecker - Add stubs for Normalizer - Add stubs for ResourceBundle - Fix arginfos - Add support for union return types - Fix arginfo for resourcebundle_create()
23 lines
761 B
PHP
23 lines
761 B
PHP
<?php
|
|
|
|
class Normalizer
|
|
{
|
|
/** @return string|false */
|
|
public static function normalize(string $input, int $form = Normalizer::FORM_C) {}
|
|
|
|
/** @return bool */
|
|
public static function isNormalized(string $input, int $form = Normalizer::FORM_C) {}
|
|
|
|
#if U_ICU_VERSION_MAJOR_NUM >= 56
|
|
/** @return string|null */
|
|
public static function getRawDecomposition(string $input, int $form = Normalizer::FORM_C) {}
|
|
#endif
|
|
}
|
|
|
|
function normalizer_normalize(string $input, int $form = Normalizer::FORM_C): string|false {}
|
|
|
|
function normalizer_is_normalized(string $input, int $form = Normalizer::FORM_C): bool {}
|
|
|
|
#if U_ICU_VERSION_MAJOR_NUM >= 56
|
|
function normalizer_get_raw_decomposition(string $input, int $form = Normalizer::FORM_C): ?string {}
|
|
#endif
|