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