3v4l.org

run code in 300+ PHP versions simultaneously
<?php $checker = new Spoofchecker(); $checker->setAllowedLocales('en_US'); var_dump($checker->isSuspicious('google.com')); // FALSE: only ASCII characters var_dump($checker->isSuspicious('Рaypal.com')); // TRUE // The first letter is from Cyrylic, not a regular latin "P"

preferences:
55.28 ms | 402 KiB | 5 Q