3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); // https://stackoverflow.com/a/68330595/367456 $transliterator = Transliterator::create("Any-Latin; Latin-ASCII"); $str = "AŠAàèìòù Chén Hǎi yáo München Faißt Финиш 国内 - 镜像"; echo $transliterator->transliterate($str), "\n"; $transliterate = static function (array $match) use ($transliterator) { return $transliterator->transliterate($match[0]); }; echo preg_replace_callback('([^\xE0\xE8\xEC\xF2\xF9]+)u', $transliterate, Normalizer::normalize($str, Normalizer::NFC)), "\n";
Output for git.master, git.master_jit, rfc.property-hooks
ASAaeiou Chen Hai yao Munchen Faisst Finis guo nei - jing xiang ASAàèìòù Chen Hai yao Munchen Faisst Finis guo nei - jing xiang

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
161.77 ms | 405 KiB | 5 Q