« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 42 for replacement (0.001 sec.)
preg_replace — 正規表現検索および置換を行う | PHP 8.3 13130
preg_replace (PHP 4, PHP 5, PHP 7, PHP 8) preg_replace — 正規表現検索および置換を行う 説明 function preg_replace ( string | array $pattern , string | array $replacement , string | array $subject , int $limit = -1 , int &$count = null ): str ... ing | array | null subject に関して pattern を用いて検索を行い、 replacement に置換します。 パターンではなく、文字列と正確にマッチさせたい場合、 この関数の代わりに str_replace() や str_ireplace() を使 ... 検討してください。 パラメータ pattern 検索を行うパターン。文字列もしくは配列とすることができます。 PCRE 修飾子 も使えます。 replacement 置換を行う文字列もしくは文字列の配列。 この引数が文字列で、 pattern 引数が配列の場合、 すべてのパターンがこの文字列に置換さ ... れます。 pattern および replacement のいずれもが配列の場合、各 pattern は 対応する replacement に置換されます。 もし、 replacement 配列の要素の数が pattern 配 ...
https://man.mtool.work/php/8.3/function.preg-replace.html
array_splice — 配列の一部を削除し、他の要素で置換する | PHP 8.3 12495
array_splice (PHP 4, PHP 5, PHP 7, PHP 8) array_splice — 配列の一部を削除し、他の要素で置換する 説明 function array_splice ( array &$array , int $offset , ? int $length = null , mixed $replacement = [] ): array 配列 array から offset および ... length で指定された要素を削除し、配列 replacement でそれを置換します。 注意 : array の配列の数値添字は保存されないことに注意しましょう。 注意 : replacement が配列でない場合 ... は、 型変換 を行います (つまり (array) $replacement とします)。 たとえば replacement にオブジェクトや null などを指定した場合に、 予期せぬ動きをする可能性があります。 パラメー ... される部分の末尾の位置は配列の末尾を基準にして計算されます。 length にゼロを指定した場合は、どの要素も削除しません。 ヒント replacement も指定した場合に offset から配列の最後まで全てを削除するには、 length を求めるために count($input) を使用してください。 re ...
https://man.mtool.work/php/8.3/function.array-splice.html
pspell_store_replacement — 単語を置換する組を保存する | PHP 8.3 11535
pspell_store_replacement (PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8) pspell_store_replacement — 単語を置換する組を保存する 説明 function pspell_store_replacement ( PSpell\Dictionary $dictionary , string $misspelled , string $correct ): bool pspel ... l_store_replacement() は、単語の置換候補を 保存します。これにより、この後の pspell_suggest() で置換候補を返すことが可能と なります。この関数の ... スのインスタンスを期待するようになりました。 これより前のバージョンでは、 resource を期待していました。 例 例1 pspell_store_replacement() <?php $pspell_config = pspell_config_create ( "en" ); pspell_config_personal ( $pspell_config , "/var/dictionaries/custo ... ig_repl ( $pspell_config , "/var/dictionaries/custom.repl" ); $pspell = pspell_new_config ( $pspell_config ); pspell_store_replacement ( $pspell , $misspelled , $correct ); pspell_save_wordlist ( $pspell ); ?> 注意 注意 : この関数は、pspell .11.2 および asp ...
https://man.mtool.work/php/8.3/function.pspell-store-replacement.html
Imagick::remapImage — 画像の色を再配置する | PHP 8.3 10405
Imagick::remapImage (PECL imagick 2 >= 2.3.0, PECL imagick 3) Imagick::remapImage — 画像の色を再配置する 説明 public function Imagick::remapImage ( Imagick $replacement , int $DITHER ): bool 画像の色を、 replacement で定義したものに置き換え ... 色で行われます。このメソッドは、ImageMagick バージョン 6.4.5 以降で Imagick をコンパイルした場合に使用可能です。 パラメータ replacement 置き換える色を含む Imagick オブジェクト。 DITHER ディザメソッド定数 の一覧を参照ください。 戻り値 成功した場合に true を返 ... します。 エラー / 例外 エラー時に ImagickException をスローします。 他のマニュアルの関連ページ DuckDB Replacement Scans Linux JM finit_module(2) DuckDB Write User Defined Functions Linux JM strip(1) DuckDB Glossary of Terms Linux JM obj ...
https://man.mtool.work/php/8.3/imagick.remapimage.html
MongoDB\Driver\BulkWriteCommand::replaceOne — Add a replaceOne operation | PHP ... 9197
MongoDB\Driver\BulkWriteCommand::replaceOne (mongodb >=2.1.0) MongoDB\Driver\BulkWriteCommand::replaceOne — Add a replaceOne operation 説明 public function MongoDB\Driver\BulkWriteCommand::replaceOne ( string $namespace , array | object $fi ... lter , array | object $replacement , ? array $options = null ): void Add a replaceOne operation to the MongoDB\Driver\BulkWriteCommand . The first document m ... SON type the query criteria should use the respective BSON class (e.g. use MongoDB\BSON\ObjectId to match an » ObjectId ). replacement ( array | object ) A replacement document. options options Option Type Description Default collation array | object » Coll ... ed. upsert bool If filter does not match an existing document, insert a single document. The document will be created from replacement . false 戻り値 値を返しません。 エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing ...
https://man.mtool.work/php/8.3/mongodb-driver-bulkwritecommand.replaceone.html
grapheme_levenshtein — 二つの文字列のレーベンシュタイン距離を書記素単位で計算す... 9042
grapheme_levenshtein (PHP 8 >= 8.5.0) grapheme_levenshtein — 二つの文字列のレーベンシュタイン距離を書記素単位で計算する 説明 手続き型 function grapheme_levenshtein ( string $string1 , string $string2 , int $insertion_cost = 1 , int $replacement ... とえば U+00E9 と U+0065 U+0301 は、どちらも é を表します) は等価なものとして扱われ、距離はゼロになります。 insertion_cost 、 replacement_cost かつ/または deletion_cost が 1 以外の場合、 アルゴリズムは最もコストの小さい変換を選ぶように動作します。 たとえば、 $ ... insertion_cost + $deletion_cost < $replacement_cost の場合、 置換をせず、挿入と削除が行われます。 パラメータ string1 レーベンシュタイン距離を計算する文字列のひとつ。 有効 ... 列のひとつ。 有効な UTF-8 でなければなりません。 insertion_cost 挿入のコストを指定します。 0 より大きくなければなりません。 replacement_cost 置換のコストを指定します。 0 より大きくなければなりません。 deletion_cost 削除のコストを指定します。 0 より大きくなけ ...
https://man.mtool.work/php/8.3/function.grapheme-levenshtein.html
enchant_dict_store_replacement — 単語の修正候補を追加する | PHP 8.3 8887
enchant_dict_store_replacement (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL enchant >= 0.1.0 ) enchant_dict_store_replacement — 単語の修正候補を追加する 説明 function enchant_dict_store_replacement ( EnchantDictionary $dictionary , string $misspelle ...
https://man.mtool.work/php/8.3/function.enchant-dict-store-replacement.html
levenshtein — 二つの文字列のレーベンシュタイン距離を計算する | PHP 8.3 8562
levenshtein (PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8) levenshtein — 二つの文字列のレーベンシュタイン距離を計算する 説明 function levenshtein ( string $string1 , string $string2 , int $insertion_cost = 1 , int $replacement_cost = 1 , int $deleti ... よび string2 の長さです。 O(max(n,m)**3) となる similar_text() よりは良いですが、 まだかなりの計算量です)。 insertion_cost , replacement_cost かつ/または deletion_cost が 1 以外の場合、 変換コストが最も小さいアルゴリズムを採用します。 たとえば、 $insertion_co ... st + $deletion_cost < $replacement_cost の場合、 置換をせず、挿入と削除が行われます。 パラメータ string1 レーベンシュタイン距離を計算する文字列のひとつ。 str ... ing2 レーベンシュタイン距離を計算する文字列のひとつ。 insertion_cost 挿入のコストを定義します。 replacement_cost 置換のコストを定義します。 deletion_cost 削除のコストを定義します。 戻り値 この関数は、引数で指定した二つの文字列のレ ...
https://man.mtool.work/php/8.3/function.levenshtein.html
mb_ereg_replace — マルチバイト文字列に正規表現による置換を行う | PHP 8.3 8392
mb_ereg_replace (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) mb_ereg_replace — マルチバイト文字列に正規表現による置換を行う 説明 function mb_ereg_replace ( string $pattern , string $replacement , string $string , ? string $options = null ): string ... | false | null string から pattern にマッチする文字列を探し、 見つかった文字列を replacement で置換します。 パラメータ pattern 正規表現パターン。 マルチバイト文字を pattern で使用することができます。 replacement 置換 ...
https://man.mtool.work/php/8.3/function.mb-ereg-replace.html
mb_eregi_replace — マルチバイト文字列に大文字小文字を区別せずに正規表現による置... 8392
mb_eregi_replace (PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8) mb_eregi_replace — マルチバイト文字列に大文字小文字を区別せずに正規表現による置換を行う 説明 function mb_eregi_replace ( string $pattern , string $replacement , string $string , ? strin ... g $options = null ): string | false | null string において、 正規表現 pattern にマッチする文字列を replacement に置換します。 パラメータ pattern 正規表現パターン。マルチバイト文字を使用できます。 大文字小文字は区別しません。 replacem ...
https://man.mtool.work/php/8.3/function.mb-eregi-replace.html
PREV 1 2 3 4 5 NEXT