- extension_loaded: documentation ( source)
<?php
if (!extension_loaded('intl')) {
throw new \Exception('PHP extension "intl" is not installed!');
}
$trans = \Transliterator::create('Latin-ASCII;');
$test = $trans->transliterate('ัะตัั');
echo $test;