Skip to content

Instantly share code, notes, and snippets.

@serverok
Created March 9, 2018 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save serverok/6a6846ef232922db655337fa8503a2a6 to your computer and use it in GitHub Desktop.
Save serverok/6a6846ef232922db655337fa8503a2a6 to your computer and use it in GitHub Desktop.
[root@srv ~]# cat 1.php
<?php
echo idn_to_ascii('täst.de');
[root@srv ~]# php 1.php
xn--tst-qla.de[root@srv ~]# php -m | grep intl
intl
[root@srv ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment