Documentation

Idna.php

Simple Machines Forum (SMF)

Tags
author

Simple Machines https://www.simplemachines.org

copyright

2025 Simple Machines and individual contributors

license

https://www.simplemachines.org/about/smf/license.php BSD

version
3.0

Alpha 2

Table of Contents

Functions

idna_maps()  : array<string|int, mixed>
Helper function for idn_to_* polyfills.
idna_maps_deviation()  : array<string|int, mixed>
Helper function for idn_to_* polyfills.
idna_regex()  : array<string|int, mixed>
Helper function for idn_to_* polyfills.

Functions

idna_maps()

Helper function for idn_to_* polyfills.

idna_maps() : array<string|int, mixed>

Developers: Do not update the data in this function manually. Instead, run "php -f other/update_unicode_data.php" on the command line.

Return values
array<string|int, mixed>

Character maps for IDNA processing.

idna_maps_deviation()

Helper function for idn_to_* polyfills.

idna_maps_deviation() : array<string|int, mixed>

Developers: Do not update the data in this function manually. Instead, run "php -f other/update_unicode_data.php" on the command line.

Return values
array<string|int, mixed>

"Deviation" character maps for IDNA processing.

idna_regex()

Helper function for idn_to_* polyfills.

idna_regex() : array<string|int, mixed>

Developers: Do not update the data in this function manually. Instead, run "php -f other/update_unicode_data.php" on the command line.

Return values
array<string|int, mixed>

Regular expressions useful for IDNA processing.


        
On this page

Search results