mirror of
https://github.com/php/php-src.git
synced 2026-04-28 18:53:33 +02:00
046cc5e4c2
Closes GH-5950
32 lines
648 B
PHP
32 lines
648 B
PHP
<?php
|
|
|
|
/** @generate-function-entries */
|
|
|
|
class Spoofchecker
|
|
{
|
|
public function __construct() {}
|
|
|
|
/**
|
|
* @param int $error
|
|
* @return bool
|
|
*/
|
|
public function isSuspicious(string $text, &$error = null) {}
|
|
|
|
/**
|
|
* @param int $error
|
|
* @return bool
|
|
*/
|
|
public function areConfusable(string $s1, string $s2, &$error = null) {}
|
|
|
|
/** @return void */
|
|
public function setAllowedLocales(string $locale_list) {}
|
|
|
|
/** @return void */
|
|
public function setChecks(int $checks) {}
|
|
|
|
#if U_ICU_VERSION_MAJOR_NUM >= 58
|
|
/** @return void */
|
|
public function setRestrictionLevel(int $level) {}
|
|
#endif
|
|
}
|