« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 17 for Spoofchecker (0.002 sec.)
Spoofchecker クラス | PHP 8.3 12363
Spoofchecker クラス (PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0) はじめに Unicode は非常にたくさんの文字と、 世界中の様々な表記体系を含んでいます。 そのため使い方を誤ると、 文字の類似性を利用して、 プログラムやシステムに対するセキュリ ... )できます。 たとえば、キリル文字の 'а' が混じった "pаypаl" のような文字列のようなものをチェックできます。 クラス概要 class Spoofchecker { /* 定数 */ public const int SINGLE_SCRIPT_CONFUSABLE ; public const int MIXED_SCRIPT_CONFUSABLE ; public const int WHOLE ... id public function setChecks ( int $checks ): void public function setRestrictionLevel ( int $level ): void } 定義済み定数 Spoofchecker::SINGLE_SCRIPT_CONFUSABLE int Spoofchecker::MIXED_SCRIPT_CONFUSABLE int Spoofchecker::WHOLE_SCRIPT_CONFUSABLE int Spoofche ... cker::ANY_CASE int Spoofchecker::SINGLE_SCRIPT int Spoofchecker::INVISIBLE int Spoofchecker::CHAR_LIMIT int Spoofchecker::ASCII int Spoofchecker::HIGHLY_R ...
https://man.mtool.work/php/8.3/class.spoofchecker.html
Spoofchecker::setRestrictionLevel — 制限レベルを設定する | PHP 8.3 11449
Spoofchecker::setRestrictionLevel (PHP 7 >= 7.3.0, PHP 8) Spoofchecker::setRestrictionLevel — 制限レベルを設定する 説明 public function Spoofchecker::setRestrictionLevel ( int $level ): void SpoofChecker::isSuspicious() の制限レベルを設定し ... ます。 パラメータ level SpoofChecker::isSuspicious() の制限レベル。 以下のうちひとつを指定します: Spoofchecker::ASCII , Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE ... , Spoofchecker::HIGHLY_RESTRICTIVE , Spoofchecker::MODERATELY_RESTRICTIVE , Spoofchecker::MINIMALLY_RESTRICTIVE , Spoofchecker::UNRESTRIC ... TIVE . デフォルトは Spoofchecker::HIGHLY_RESTRICTIVE です。 戻り値 値を返しません。 ...
https://man.mtool.work/php/8.3/spoofchecker.setrestrictionlevel.html
Spoofchecker::setChecks — 実行するチェックを設定する | PHP 8.3 11380
Spoofchecker::setChecks (PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0) Spoofchecker::setChecks — 実行するチェックを設定する 説明 public function Spoofchecker::setChecks ( int $checks ): void SpoofChecker::isSuspicious() で行われるチェッ ... クの種類を設定します。 パラメータ checks SpoofChecker::isSuspicious() で行われるチェック。 以下からなるビットマスクの組み合わせです。 Spoofchecker::SINGLE_SCRIPT_CONFUSABLE , S ... poofchecker::MIXED_SCRIPT_CONFUSABLE , Spoofchecker::WHOLE_SCRIPT_CONFUSABLE , Spoofchecker::ANY_CASE , Spoofchecker::SINGLE_SCRIPT , Spoofchecker::INVISIBLE , Spoofchecker:: ... CHAR_LIMIT 。 ICU 58 以降では、デフォルトで全てのチェックが設定されます。 それより前のバージョンでは、全てのチェックから Spoofchecker::SINGLE_SCRIPT が除外されていました。 戻り値 値を返しません。 ...
https://man.mtool.work/php/8.3/spoofchecker.setchecks.html
Spoofchecker::setAllowedChars — チェック時に許可する文字集合を設定する | PHP 8.... 10656
Spoofchecker::setAllowedChars (PHP 8 >= 8.4.0) Spoofchecker::setAllowedChars — チェック時に許可する文字集合を設定する 説明 public function Spoofchecker::setAllowedChars ( string $pattern , int $patternOptions = 0 ): void これ以降のチェックで ... 許容される文字を、 pattern で記述された集合に制限します。 この集合に含まれない文字が存在すると、 Spoofchecker::isSuspicious() はそれを疑わしいものとして報告します。 パラメータ pattern UnicodeSet パターン、 すなわち正規表現スタイルの ... ます。 たとえば [a-z0-9] のようにします。 patternOptions pattern をどのように解釈するかを制御するビットマスク。 0 にするか、 Spoofchecker::IGNORE_SPACE を単独で指定するか、 あるいはそれと Spoofchecker::CASE_INSENSITIVE 、 Spoofchecker::ADD_CASE_MAPPINGS 、 Spo ... 集合のパターンでない場合や、 patternOptions がオプションの有効な組み合わせでない場合に、 ValueError をスローします。 例 例1 Spoofchecker::setAllowedChars() の例 <?php $checker = new Spoofchecker (); $checker -> setAllowedChars ( '[a-z0-9]' ); var_dump ( $chec ...
https://man.mtool.work/php/8.3/spoofchecker.setallowedchars.html
Spoofchecker::__construct — コンストラクタ | PHP 8.3 9121
Spoofchecker::__construct (No version information available, might only be in Git) Spoofchecker::__construct — コンストラクタ 説明 public function Spoofchecker::__construct () Spoofchecker の新しいインスタンスを作成します。 パラメータ この関 ...
https://man.mtool.work/php/8.3/spoofchecker.construct.html
Spoofchecker::isSuspicious — 指定されたテキストに、疑わしい文字が含まれていない... 8793
Spoofchecker::isSuspicious (PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0) Spoofchecker::isSuspicious — 指定されたテキストに、疑わしい文字が含まれていないかをチェックする 説明 public function Spoofchecker::isSuspicious ( string $string , ... は、 エラーコード値を含みます。 戻り値 疑わしい文字が含まれている場合は true を、 そうでない場合は false を返します。 例 例1 Spoofchecker::isSuspicious() の例 <?php $checker = new Spoofchecker (); $checker -> isSuspicious ( 'google.com' ); // FALSE: only ASCII ...
https://man.mtool.work/php/8.3/spoofchecker.issuspicious.html
Spoofchecker::areConfusable — 指定された文字列が、読み手を混乱させうるかをチェ... 8724
Spoofchecker::areConfusable (PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0) Spoofchecker::areConfusable — 指定された文字列が、読み手を混乱させうるかをチェックする 説明 public function Spoofchecker::areConfusable ( string $string1 , strin ... 含みます。 戻り値 ふたつの指定された文字列が、間違いやすいものであれば true を、 そうでない場合は false を返します。 例 例1 Spoofchecker::areConfusable() の例 <?php $checker = new Spoofchecker (); $checker -> areConfusable ( 'google.com' , 'goog1e.com' ); // ...
https://man.mtool.work/php/8.3/spoofchecker.areconfusable.html
Spoofchecker::setAllowedLocales — チェック時に使うロケールを設定する | PHP 8.3 8224
Spoofchecker::setAllowedLocales (PHP 5 >= 5.4.0, PHP 7, PHP 8, PECL intl >= 2.0.0) Spoofchecker::setAllowedLocales — チェック時に使うロケールを設定する 説明 public function Spoofchecker::setAllowedLocales ( string $locales ): void 警告 この ...
https://man.mtool.work/php/8.3/spoofchecker.setallowedlocales.html
国際化関数 | PHP 8.3 7638
国際化関数 はじめに 国際化用拡張モジュール (これ以降では Intl と略します) は » ICU ライブラリのラッパーです。 PHP プログラマが、ロケール関連のさまざまな操作を行えるようにします。 フォーマット、音訳、エンコード変換、カレンダーの処理、 » UCA ... 操作が失敗したときには、 一貫して Error がスローされます。 以前は、これらのクラスのほとんどは代わりに Exception をスローし、 Spoofchecker は致命的なエラーを発生させていました。 リンク » ICU のドキュメント » ICU ユーザーガイド » Unicode Collation Algorithm イン ... ::getErrorMessage — バンドルの直近のエラーメッセージを取得する ResourceBundle::getLocales — サポートするロケールを取得する Spoofchecker — Spoofchecker クラス Spoofchecker::areConfusable — 指定された文字列が、読み手を混乱させうるかをチェックする Spoofchecker: ... :__construct — コンストラクタ Spoofchecker::isSuspicious — 指定されたテキストに、疑わしい文字が含まれていないかをチェックする Spoofchecker::setAllowedChars — チェック ...
https://man.mtool.work/php/8.3/book.intl.html
New Functions | PHP 8.3 7638
New Functions Core clamp() returns the given value if in range, else returns the nearest bound. stream_last_errors() stream_clear_errors() stream_socket_get_crypto_status() GMP gmp_powm_sec() gmp_prevprime() Intl grapheme_strrev() IntlDateP ... cale::getDisplayKeyword() locale_get_display_keyword() Locale::getDisplayKeywordValue() locale_get_display_keyword_value() SpoofChecker::areBidiConfusable() SpoofChecker::getBidiSkeleton() SpoofChecker::getSkeleton() MySQLi mysqli::quote_string() mysqli_quot ...
https://man.mtool.work/php/8.3/migration86.new-functions.html
PREV 1 2 NEXT