1<?php 2 3/** @generate-class-entries */ 4 5class IntlChar 6{ 7 /** @tentative-return-type */ 8 public static function hasBinaryProperty(int|string $codepoint, int $property): ?bool {} 9 10 /** @tentative-return-type */ 11 public static function charAge(int|string $codepoint): ?array {} 12 13 /** @tentative-return-type */ 14 public static function charDigitValue(int|string $codepoint): ?int {} 15 16 /** @tentative-return-type */ 17 public static function charDirection(int|string $codepoint): ?int {} 18 19 /** @tentative-return-type */ 20 public static function charFromName(string $name, int $type = IntlChar::UNICODE_CHAR_NAME): ?int {} 21 22 /** @tentative-return-type */ 23 public static function charMirror(int|string $codepoint): int|string|null {} 24 25 /** @tentative-return-type */ 26 public static function charName(int|string $codepoint, int $type = IntlChar::UNICODE_CHAR_NAME): ?string {} 27 28 /** @tentative-return-type */ 29 public static function charType(int|string $codepoint): ?int {} 30 31 /** @tentative-return-type */ 32 public static function chr(int|string $codepoint): ?string {} 33 34 /** @tentative-return-type */ 35 public static function digit(int|string $codepoint, int $base = 10): int|false|null {} 36 37 /** @tentative-return-type */ 38 public static function enumCharNames(int|string $start, int|string $end, callable $callback, int $type = IntlChar::UNICODE_CHAR_NAME): ?bool {} // TODO return values just don't make sense 39 40 /** @tentative-return-type */ 41 public static function enumCharTypes(callable $callback): void {} 42 43 /** @tentative-return-type */ 44 public static function foldCase(int|string $codepoint, int $options = IntlChar::FOLD_CASE_DEFAULT): int|string|null {} 45 46 /** @tentative-return-type */ 47 public static function forDigit(int $digit, int $base = 10): int {} 48 49#if U_ICU_VERSION_MAJOR_NUM >= 52 50 /** @tentative-return-type */ 51 public static function getBidiPairedBracket(int|string $codepoint): int|string|null {} 52#endif 53 54 /** @tentative-return-type */ 55 public static function getBlockCode(int|string $codepoint): ?int {} 56 57 /** @tentative-return-type */ 58 public static function getCombiningClass(int|string $codepoint): ?int {} 59 60 /** @tentative-return-type */ 61 public static function getFC_NFKC_Closure(int|string $codepoint): string|false|null {} 62 63 /** @tentative-return-type */ 64 public static function getIntPropertyMaxValue(int $property): int {} 65 66 /** @tentative-return-type */ 67 public static function getIntPropertyMinValue(int $property): int {} 68 69 /** @tentative-return-type */ 70 public static function getIntPropertyValue(int|string $codepoint, int $property): ?int {} 71 72 /** @tentative-return-type */ 73 public static function getNumericValue(int|string $codepoint): ?float {} 74 75 /** @tentative-return-type */ 76 public static function getPropertyEnum(string $alias): int {} 77 78 /** @tentative-return-type */ 79 public static function getPropertyName(int $property, int $type = IntlChar::LONG_PROPERTY_NAME): string|false {} 80 81 /** @tentative-return-type */ 82 public static function getPropertyValueEnum(int $property, string $name): int {} 83 84 /** @tentative-return-type */ 85 public static function getPropertyValueName(int $property, int $value, int $type = IntlChar::LONG_PROPERTY_NAME): string|false {} 86 87 /** @tentative-return-type */ 88 public static function getUnicodeVersion(): array {} 89 90 /** @tentative-return-type */ 91 public static function isalnum(int|string $codepoint): ?bool {} 92 93 /** @tentative-return-type */ 94 public static function isalpha(int|string $codepoint): ?bool {} 95 96 /** @tentative-return-type */ 97 public static function isbase(int|string $codepoint): ?bool {} 98 99 /** @tentative-return-type */ 100 public static function isblank(int|string $codepoint): ?bool {} 101 102 /** @tentative-return-type */ 103 public static function iscntrl(int|string $codepoint): ?bool {} 104 105 /** @tentative-return-type */ 106 public static function isdefined(int|string $codepoint): ?bool {} 107 108 /** @tentative-return-type */ 109 public static function isdigit(int|string $codepoint): ?bool {} 110 111 /** @tentative-return-type */ 112 public static function isgraph(int|string $codepoint): ?bool {} 113 114 /** @tentative-return-type */ 115 public static function isIDIgnorable(int|string $codepoint): ?bool {} 116 117 /** @tentative-return-type */ 118 public static function isIDPart(int|string $codepoint): ?bool {} 119 120 /** @tentative-return-type */ 121 public static function isIDStart(int|string $codepoint): ?bool {} 122 123 /** @tentative-return-type */ 124 public static function isISOControl(int|string $codepoint): ?bool {} 125 126 /** @tentative-return-type */ 127 public static function isJavaIDPart(int|string $codepoint): ?bool {} 128 129 /** @tentative-return-type */ 130 public static function isJavaIDStart(int|string $codepoint): ?bool {} 131 132 /** @tentative-return-type */ 133 public static function isJavaSpaceChar(int|string $codepoint): ?bool {} 134 135 /** @tentative-return-type */ 136 public static function islower(int|string $codepoint): ?bool {} 137 138 /** @tentative-return-type */ 139 public static function isMirrored(int|string $codepoint): ?bool {} 140 141 /** @tentative-return-type */ 142 public static function isprint(int|string $codepoint): ?bool {} 143 144 /** @tentative-return-type */ 145 public static function ispunct(int|string $codepoint): ?bool {} 146 147 /** @tentative-return-type */ 148 public static function isspace(int|string $codepoint): ?bool {} 149 150 /** @tentative-return-type */ 151 public static function istitle(int|string $codepoint): ?bool {} 152 153 /** @tentative-return-type */ 154 public static function isUAlphabetic(int|string $codepoint): ?bool {} 155 156 /** @tentative-return-type */ 157 public static function isULowercase(int|string $codepoint): ?bool {} 158 159 /** @tentative-return-type */ 160 public static function isupper(int|string $codepoint): ?bool {} 161 162 /** @tentative-return-type */ 163 public static function isUUppercase(int|string $codepoint): ?bool {} 164 165 /** @tentative-return-type */ 166 public static function isUWhiteSpace(int|string $codepoint): ?bool {} 167 168 /** @tentative-return-type */ 169 public static function isWhitespace(int|string $codepoint): ?bool {} 170 171 /** @tentative-return-type */ 172 public static function isxdigit(int|string $codepoint): ?bool {} 173 174 /** @tentative-return-type */ 175 public static function ord(int|string $character): ?int {} 176 177 /** @tentative-return-type */ 178 public static function tolower(int|string $codepoint): int|string|null {} 179 180 /** @tentative-return-type */ 181 public static function totitle(int|string $codepoint): int|string|null {} 182 183 /** @tentative-return-type */ 184 public static function toupper(int|string $codepoint): int|string|null {} 185} 186