idna_convert::encode
Encode a given UTF-8 domain name
Signature
public function encode(
$decoded,
[
$one_time_encoding = false] )
Parameters
-
$decoded
-
$one_time_encoding
Returns
- string
- Encoded Domain name (ACE string)