getRegisteredWrappers()
getSingleByteEncodings()
getWrapper()
hasPcreUnicodeSupport()
isSingleByteEncoding()
isValidUtf8()
registerWrapper()
resetRegisteredWrappers()
unregisterWrapper()
$hasPcreUnicodeSupport
$singleByteEncodings
$wrapperRegistry
Utility class for handling strings of different character encodings using available PHP extensions.
Declared abstract, as we have no need for instantiation.
getRegisteredWrappers() : string[]
string[]getSingleByteEncodings() : string[]
string[]getWrapper(string $encoding, string | null $convertEncoding) : \Zend\Stdlib\StringWrapper\StringWrapperInterface
stringCharacter encoding to support
stringnullOPTIONAL character encoding to convert in
| \Zend\Stdlib\Exception\RuntimeException | If no wrapper supports given character encodings | 
|---|
hasPcreUnicodeSupport() : bool
boolisSingleByteEncoding(string $encoding) : bool
string
boolisValidUtf8(string $str) : bool
string
boolregisterWrapper(string $wrapper) : void
string
resetRegisteredWrappers() : void
unregisterWrapper(string $wrapper) : void
string
$hasPcreUnicodeSupport : bool
$singleByteEncodings : string[]
$wrapperRegistry : \Zend\Stdlib\StringWrapper\StringWrapperInterface[]