3v4l.org

run code in 500+ 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"
Output for master
Fatal error: Uncaught Error: Class "Spoofchecker" not found in /in/33qXs:2 Stack trace: #0 {main} thrown in /in/33qXs on line 2
Process exited with code 255.

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:
19.44 ms | 1167 KiB | 7 Q