Méthode | Description | |
---|---|---|
escapeString ( string $string ) : string | Special string encoding function like urlencode(), corresponding to Python's urllib.parse.quote(string, "!~*'();/?:@&=+$,# ") | |
unescapeString ( string $string ) : string | Special string decoding function like urldecode(), corresponding to Python's urllib.parse.unquote(string) | |
unicodeChr ( integer $code ) : string | Multibyte replacement for standard chr() | |
unicodeOrd ( string $char ) : integer | Multibyte replacement for standard ord() |
public static escapeString ( string $string ) : string | ||
$string | string | String for encoding. |
Résultat | string | Encoded string. |
public static unescapeString ( string $string ) : string | ||
$string | string | String for decoding. |
Résultat | string | Decoded string. |
public static unicodeChr ( integer $code ) : string | ||
$code | integer | Character code. |
Résultat | string | Char with given code |
public static unicodeOrd ( string $char ) : integer | ||
$char | string | Char. |
Résultat | integer | Code of given char. |