Punycode final class
Minn\Http\Punycode · public/minn/src/Minn/Http/Punycode.php · 103 lines
Internationalized host names in ASCII: each label that is not ASCII is written as "xn--" plus its Punycode (RFC 3492) and must stay under 64 bytes. Labels keep their case: there is no Nameprep step, as on the reference ("Bücher" becomes "xn--Bcher-kva").
Uses 1
Constants and properties
| const | PREFIX = 'xn--' | |
| const | MAX_LENGTH = 64 | |
| private | BASE = 36 | |
| private | TMIN = 1 | |
| private | TMAX = 26 | |
| private | SKEW = 38 | |
| private | DAMP = 700 | |
| private | INITIAL_BIAS = 72 | |
| private | INITIAL_N = 128 |
Public
Internals 3
Private and protected methods: how the class does its work. Not a contract; they change whenever the code is tidied.
Nothing matches.