1--TEST--
2spoofchecker confusable tests
3--SKIPIF--
4<?php if(!extension_loaded('intl') || !class_exists("Spoofchecker")) print 'skip'; ?>
5--FILE--
6<?php
7
8$url = "http://www.payp\xD0\xB0l.com";
9
10$x = new Spoofchecker();
11echo "Checking if words are confusable\n";
12var_dump($x->areConfusable("hello, world", "goodbye, world"));
13var_dump($x->areConfusable("hello, world", "hello, world"));
14var_dump($x->areConfusable("hello, world", "he11o, wor1d"));
15?>
16--EXPECTF--
17Checking if words are confusable
18bool(false)
19bool(true)
20bool(true)
21