3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fullName = 'รค'; setlocale(LC_ALL, 'en_US.UTF8'); $fullName = iconv('UTF-8', 'ASCII//TRANSLIT', $fullName); var_dump($fullName);
based on nRjrl
Output for 5.6.0 - 7.3.0beta1
string(1) "?"