3v4l.org

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

preferences:
102.72 ms | 404 KiB | 5 Q