SpoofChecker - Check if the look of a text is confusable

Code
<?php

$spoof 
= new Spoofchecker();

// spoofcheck for german locale
$spoof->setAllowedLocales('de');

// are strings visually confusable?
dump($spoof->areConfusable("Körner""Körner\0"));

dump($spoof->areConfusable("Körner""Korner"));

dump($spoof->areConfusable('lol''1o1'));

dump($spoof->areConfusable('lol''IoI'));
Result
^ false

^ false

^ true

^ true
Used Versions
PHP 8.0, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8