php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
Public Member Functions | |
__construct (?string $destination_encoding=null, ?string $source_encoding=null) | |
convert (string $str, bool $reverse=false) | |
fromUCallback (int $reason, array $source, int $codePoint, &$error) | |
getDestinationEncoding () | |
getDestinationType () | |
getErrorCode () | |
getErrorMessage () | |
getSourceEncoding () | |
getSourceType () | |
getSubstChars () | |
setDestinationEncoding (string $encoding) | |
setSourceEncoding (string $encoding) | |
setSubstChars (string $chars) | |
toUCallback (int $reason, string $source, string $codeUnits, &$error) | |
Static Public Member Functions | |
static | getAliases (string $name) |
static | getAvailable () |
static | getStandards () |
static | reasonText (int $reason) |
static | transcode (string $str, string $toEncoding, string $fromEncoding, ?array $options=null) |
Data Fields | |
const int | REASON_UNASSIGNED = UNKNOWN |
const int | REASON_ILLEGAL = UNKNOWN |
const int | REASON_IRREGULAR = UNKNOWN |
const int | REASON_RESET = UNKNOWN |
const int | REASON_CLOSE = UNKNOWN |
const int | REASON_CLONE = UNKNOWN |
const int | UNSUPPORTED_CONVERTER = UNKNOWN |
const int | SBCS = UNKNOWN |
const int | DBCS = UNKNOWN |
const int | MBCS = UNKNOWN |
const int | LATIN_1 = UNKNOWN |
const int | UTF8 = UNKNOWN |
const int | UTF16_BigEndian = UNKNOWN |
const int | UTF16_LittleEndian = UNKNOWN |
const int | UTF32_BigEndian = UNKNOWN |
const int | UTF32_LittleEndian = UNKNOWN |
const int | EBCDIC_STATEFUL = UNKNOWN |
const int | ISO_2022 = UNKNOWN |
const int | LMBCS_1 = UNKNOWN |
const int | LMBCS_2 = UNKNOWN |
const int | LMBCS_3 = UNKNOWN |
const int | LMBCS_4 = UNKNOWN |
const int | LMBCS_5 = UNKNOWN |
const int | LMBCS_6 = UNKNOWN |
const int | LMBCS_8 = UNKNOWN |
const int | LMBCS_11 = UNKNOWN |
const int | LMBCS_16 = UNKNOWN |
const int | LMBCS_17 = UNKNOWN |
const int | LMBCS_18 = UNKNOWN |
const int | LMBCS_19 = UNKNOWN |
const int | LMBCS_LAST = UNKNOWN |
const int | HZ = UNKNOWN |
const int | SCSU = UNKNOWN |
const int | ISCII = UNKNOWN |
const int | US_ASCII = UNKNOWN |
const int | UTF7 = UNKNOWN |
const int | BOCU1 = UNKNOWN |
const int | UTF16 = UNKNOWN |
const int | UTF32 = UNKNOWN |
const int | CESU8 = UNKNOWN |
const int | IMAP_MAILBOX = UNKNOWN |
@generate-class-entries @not-serializable
Definition at line 6 of file converter.stub.php.
UConverter::__construct | ( | ?string | $destination_encoding = null, |
?string | $source_encoding = null ) |
Definition at line 96 of file converter.stub.php.
UConverter::convert | ( | string | $str, |
bool | $reverse = false ) |
@tentative-return-type
Definition at line 99 of file converter.stub.php.
UConverter::fromUCallback | ( | int | $reason, |
array | $source, | ||
int | $codePoint, | ||
& | $error ) |
int | $error | @tentative-return-type |
Definition at line 105 of file converter.stub.php.
|
static |
Definition at line 111 of file converter.stub.php.
|
static |
Definition at line 117 of file converter.stub.php.
UConverter::getDestinationEncoding | ( | ) |
@tentative-return-type
Definition at line 120 of file converter.stub.php.
UConverter::getDestinationType | ( | ) |
@tentative-return-type
Definition at line 123 of file converter.stub.php.
UConverter::getErrorCode | ( | ) |
@tentative-return-type
Definition at line 126 of file converter.stub.php.
UConverter::getErrorMessage | ( | ) |
@tentative-return-type
Definition at line 129 of file converter.stub.php.
UConverter::getSourceEncoding | ( | ) |
@tentative-return-type
Definition at line 132 of file converter.stub.php.
UConverter::getSourceType | ( | ) |
@tentative-return-type
Definition at line 135 of file converter.stub.php.
|
static |
@tentative-return-type
Definition at line 138 of file converter.stub.php.
UConverter::getSubstChars | ( | ) |
@tentative-return-type
Definition at line 141 of file converter.stub.php.
|
static |
@tentative-return-type
Definition at line 144 of file converter.stub.php.
UConverter::setDestinationEncoding | ( | string | $encoding | ) |
@tentative-return-type
Definition at line 147 of file converter.stub.php.
UConverter::setSourceEncoding | ( | string | $encoding | ) |
@tentative-return-type
Definition at line 150 of file converter.stub.php.
UConverter::setSubstChars | ( | string | $chars | ) |
@tentative-return-type
Definition at line 153 of file converter.stub.php.
UConverter::toUCallback | ( | int | $reason, |
string | $source, | ||
string | $codeUnits, | ||
& | $error ) |
int | $error | @tentative-return-type |
Definition at line 159 of file converter.stub.php.
|
static |
@tentative-return-type
Definition at line 162 of file converter.stub.php.
const int UConverter::BOCU1 = UNKNOWN |
@cvalue UCNV_BOCU1
Definition at line 86 of file converter.stub.php.
const int UConverter::CESU8 = UNKNOWN |
@cvalue UCNV_CESU8
Definition at line 92 of file converter.stub.php.
const int UConverter::DBCS = UNKNOWN |
@cvalue UCNV_DBCS
Definition at line 30 of file converter.stub.php.
const int UConverter::EBCDIC_STATEFUL = UNKNOWN |
@cvalue UCNV_EBCDIC_STATEFUL
Definition at line 46 of file converter.stub.php.
const int UConverter::HZ = UNKNOWN |
@cvalue UCNV_HZ
Definition at line 76 of file converter.stub.php.
const int UConverter::IMAP_MAILBOX = UNKNOWN |
@cvalue UCNV_IMAP_MAILBOX
Definition at line 94 of file converter.stub.php.
const int UConverter::ISCII = UNKNOWN |
@cvalue UCNV_ISCII
Definition at line 80 of file converter.stub.php.
const int UConverter::ISO_2022 = UNKNOWN |
@cvalue UCNV_ISO_2022
Definition at line 48 of file converter.stub.php.
const int UConverter::LATIN_1 = UNKNOWN |
@cvalue UCNV_LATIN_1
Definition at line 34 of file converter.stub.php.
const int UConverter::LMBCS_1 = UNKNOWN |
@cvalue UCNV_LMBCS_1
Definition at line 50 of file converter.stub.php.
const int UConverter::LMBCS_11 = UNKNOWN |
@cvalue UCNV_LMBCS_11
Definition at line 64 of file converter.stub.php.
const int UConverter::LMBCS_16 = UNKNOWN |
@cvalue UCNV_LMBCS_16
Definition at line 66 of file converter.stub.php.
const int UConverter::LMBCS_17 = UNKNOWN |
@cvalue UCNV_LMBCS_17
Definition at line 68 of file converter.stub.php.
const int UConverter::LMBCS_18 = UNKNOWN |
@cvalue UCNV_LMBCS_18
Definition at line 70 of file converter.stub.php.
const int UConverter::LMBCS_19 = UNKNOWN |
@cvalue UCNV_LMBCS_19
Definition at line 72 of file converter.stub.php.
const int UConverter::LMBCS_2 = UNKNOWN |
@cvalue UCNV_LMBCS_2
Definition at line 52 of file converter.stub.php.
const int UConverter::LMBCS_3 = UNKNOWN |
@cvalue UCNV_LMBCS_3
Definition at line 54 of file converter.stub.php.
const int UConverter::LMBCS_4 = UNKNOWN |
@cvalue UCNV_LMBCS_4
Definition at line 56 of file converter.stub.php.
const int UConverter::LMBCS_5 = UNKNOWN |
@cvalue UCNV_LMBCS_5
Definition at line 58 of file converter.stub.php.
const int UConverter::LMBCS_6 = UNKNOWN |
@cvalue UCNV_LMBCS_6
Definition at line 60 of file converter.stub.php.
const int UConverter::LMBCS_8 = UNKNOWN |
@cvalue UCNV_LMBCS_8
Definition at line 62 of file converter.stub.php.
const int UConverter::LMBCS_LAST = UNKNOWN |
@cvalue UCNV_LMBCS_LAST
Definition at line 74 of file converter.stub.php.
const int UConverter::MBCS = UNKNOWN |
@cvalue UCNV_MBCS
Definition at line 32 of file converter.stub.php.
const int UConverter::REASON_CLONE = UNKNOWN |
@cvalue UCNV_CLONE
Definition at line 21 of file converter.stub.php.
const int UConverter::REASON_CLOSE = UNKNOWN |
@cvalue UCNV_CLOSE
Definition at line 19 of file converter.stub.php.
const int UConverter::REASON_ILLEGAL = UNKNOWN |
@cvalue UCNV_ILLEGAL
Definition at line 13 of file converter.stub.php.
const int UConverter::REASON_IRREGULAR = UNKNOWN |
@cvalue UCNV_IRREGULAR
Definition at line 15 of file converter.stub.php.
const int UConverter::REASON_RESET = UNKNOWN |
@cvalue UCNV_RESET
Definition at line 17 of file converter.stub.php.
const int UConverter::REASON_UNASSIGNED = UNKNOWN |
@cvalue UCNV_UNASSIGNED
Definition at line 11 of file converter.stub.php.
const int UConverter::SBCS = UNKNOWN |
@cvalue UCNV_SBCS
Definition at line 28 of file converter.stub.php.
const int UConverter::SCSU = UNKNOWN |
@cvalue UCNV_SCSU
Definition at line 78 of file converter.stub.php.
const int UConverter::UNSUPPORTED_CONVERTER = UNKNOWN |
@cvalue UCNV_UNSUPPORTED_CONVERTER
Definition at line 26 of file converter.stub.php.
const int UConverter::US_ASCII = UNKNOWN |
@cvalue UCNV_US_ASCII
Definition at line 82 of file converter.stub.php.
const int UConverter::UTF16 = UNKNOWN |
@cvalue UCNV_UTF16
Definition at line 88 of file converter.stub.php.
const int UConverter::UTF16_BigEndian = UNKNOWN |
@cvalue UCNV_UTF16_BigEndian
Definition at line 38 of file converter.stub.php.
const int UConverter::UTF16_LittleEndian = UNKNOWN |
@cvalue UCNV_UTF16_LittleEndian
Definition at line 40 of file converter.stub.php.
const int UConverter::UTF32 = UNKNOWN |
@cvalue UCNV_UTF32
Definition at line 90 of file converter.stub.php.
const int UConverter::UTF32_BigEndian = UNKNOWN |
@cvalue UCNV_UTF32_BigEndian
Definition at line 42 of file converter.stub.php.
const int UConverter::UTF32_LittleEndian = UNKNOWN |
@cvalue UCNV_UTF32_LittleEndian
Definition at line 44 of file converter.stub.php.
const int UConverter::UTF7 = UNKNOWN |
@cvalue UCNV_UTF7
Definition at line 84 of file converter.stub.php.
const int UConverter::UTF8 = UNKNOWN |
@cvalue UCNV_UTF8
Definition at line 36 of file converter.stub.php.