« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 21 for strcmp (0.003 sec.)
strcmp — バイナリセーフな文字列比較 | PHP 8.3 13175
strcmp (PHP 4, PHP 5, PHP 7, PHP 8) strcmp — バイナリセーフな文字列比較 説明 function strcmp ( string $string1 , string $string2 ): int この比較は大文字小文字を区別することに注意してください。 大文字小文字を区別しない比較をする場合は、 strc ... 場合に strlen($string1) - strlen($string2) を返すとは限らなくなりました。 代わりに、 -1 や 1 を返す可能性があります。 例 例1 strcmp() の例 <?php $var1 = "Hello" ; $var2 = "hello" ; if ( strcmp ( $var1 , $var2 ) !== 0 ) { echo '$var1 is not equal to $var2 ... ext() - 二つの文字列の間の類似性を計算する soundex() - 文字列の soundex キーを計算する 他のマニュアルの関連ページ Linux JM strcmp(3) Linux JM strcoll(3) Linux JM strncmp(3) Linux JM strcasecmp(3) Linux JM string(3) Linux JM strlen(3) ...
https://man.mtool.work/php/8.3/function.strcmp.html
strcoll — ロケールに基づく文字列比較 | PHP 8.3 11822
strcoll (PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8) strcoll — ロケールに基づく文字列比較 説明 function strcoll ( string $string1 , string $string2 ): int この比較は大文字小文字を区別すること、そして、 strcmp() とは異なり、 バイナリセーフではないこ ... とに注意してください。 strcoll() は比較を行う際に現在のロケールを使用します。 ロケールが C または POSIX の場合、この関数は strcmp() と等価です。 パラメータ string1 最初の文字列。 string2 次の文字列。 戻り値 string1 が string2 より小さい場合に 0 未満の値 ... ng2 より大きい場合に 0 より大きな値、 両者が等しい場合に 0 を返します。 参考 preg_match() - 正規表現によるマッチングを行う strcmp() - バイナリセーフな文字列比較 strcasecmp() - 大文字小文字を区別しないバイナリセーフな文字列比較を行う substr() - 文字列の ... 行う strstr() - 文字列が最初に現れる位置を見つける setlocale() - ロケール情報を設定する 他のマニュアルの関連ページ Linux JM strcmp(3) Linux JM strcoll(3) Linux JM strncmp(3) Linux JM string(3) Linux JM strstr(3) Linux JM wcsncasecmp(3) ...
https://man.mtool.work/php/8.3/function.strcoll.html
strnatcmp — "自然順"アルゴリズムにより文字列比較を行う | PHP 8.3 11467
strnatcmp (PHP 4, PHP 5, PHP 7, PHP 8) strnatcmp — "自然順"アルゴリズムにより文字列比較を行う 説明 function strnatcmp ( string $string1 , string $string2 ): int この関数は、人間が行うような手法でアルファベットまたは数字の 文字列の順序を比較 ... ng1) - strlen($string2) を返すとは限らなくなりました。 代わりに、 -1 や 1 を返す可能性があります。 例 このアルゴリズムと ( strcmp() を使用した) 通常のコンピュータ文字列ソートの間の違いの例を次に示します。 例1 strcmp() の例 <?php $arr1 = $arr2 = array( ... "img12.png" , "img10.png" , "img2.png" , "img1.png" ); echo "標準の文字列比較\n" ; usort ( $arr1 , "strcmp" ); print_r ( $arr1 ); echo "\n自然順での文字列比較\n" ; usort ( $arr2 , "strnatcmp" ); print_r ( $arr2 ); ?> 上の例の出力 ... 文字を区別しないバイナリセーフな文字列比較を行う substr() - 文字列の一部分を返す stristr() - 大文字小文字を区別しない strstr strcmp() - バイナリセーフな文字列比較 strncmp() - 最初の n 文字についてバイナリセーフな文字列比較を行う strncasecmp() - バイナリセ ...
https://man.mtool.work/php/8.3/function.strnatcmp.html
strncmp — 最初の n 文字についてバイナリセーフな文字列比較を行う | PHP 8.3 10249
strncmp (PHP 4, PHP 5, PHP 7, PHP 8) strncmp — 最初の n 文字についてバイナリセーフな文字列比較を行う 説明 function strncmp ( string $string1 , string $string2 , int $length ): int この関数は strcmp() に似ていますが、 各文字列から比較に使用す ... 規表現によるマッチングを行う substr_compare() - 指定した位置から指定した長さの 2 つの文字列について、バイナリ対応で比較する strcmp() - バイナリセーフな文字列比較 strstr() - 文字列が最初に現れる位置を見つける substr() - 文字列の一部分を返す 他のマニュアル ... の関連ページ Linux JM strcmp(3) Linux JM strncmp(3) Linux JM strncasecmp(3) Linux JM strlen(3) Linux JM string(3) Linux JM strcasecmp(3) ...
https://man.mtool.work/php/8.3/function.strncmp.html
get_defined_functions — 定義済みの全ての関数を配列で返す | PHP 8.3 8896
get_defined_functions (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) get_defined_functions — 定義済みの全ての関数を配列で返す 説明 function get_defined_functions ( bool $exclude_disabled = true ): array すべての定義済み関数を配列で返します。 パラメー ... nternal] => Array ( [0] => zend_version [1] => func_num_args [2] => func_get_arg [3] => func_get_args [4] => strlen [5] => strcmp [6] => strncmp ... [750] => bcscale [751] => bccomp ) [user] => Array ( [0] => myrow ) ) 参考 function_exists() - 指定した ... て返す get_declared_classes() - 定義済のクラスの名前を配列として返す 他のマニュアルの関連ページ Linux JM strncmp(3) Linux JM strcmp(3) Linux JM copydir(1) Linux JM recursdir(1) Linux JM pslogin(1) Linux JM mirrordir(1) ...
https://man.mtool.work/php/8.3/function.get-defined-functions.html
Imagick::getImageLength — 画像の長さをバイト数で取得する | PHP 8.3 8541
Imagick::getImageLength (PECL imagick 2, PECL imagick 3) Imagick::getImageLength — 画像の長さをバイト数で取得する 説明 public function Imagick::getImageLength (): int 画像の長さをバイト数で返します。 パラメータ この関数にはパラメータはありま ... bytes' ; ?> 他のマニュアルの関連ページ Linux JM cmp(1) Linux JM strpbrk(3) Docker docker image Linux JM memcmp(3) Linux JM strcmp(3) Linux JM strncmp(3) ...
https://man.mtool.work/php/8.3/imagick.getimagelength.html
date_default_timezone_set — スクリプト中の日付/時刻関数で使用されるデフォルトタ... 8050
date_default_timezone_set (PHP 5 >= 5.1.0, PHP 7, PHP 8) date_default_timezone_set — スクリプト中の日付/時刻関数で使用されるデフォルトタイムゾーンを設定する 説明 function date_default_timezone_set ( string $timezoneId ): bool date_default_t ... zone_set ( 'America/Los_Angeles' ); $script_tz = date_default_timezone_get (); $ini_tz = ini_get ( 'date.timezone' ); if ( strcmp ( $script_tz , $ini_tz )){ echo 'Script timezone differs from ini-set timezone.' ; } else { echo 'Script timezone and ini- ...
https://man.mtool.work/php/8.3/function.date-default-timezone-set.html
定義済み定数 | PHP 8.3 8050
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 Miscellaneous constants RPMVERSION ( string ) System librpm version. RPM Sens ... IG ( int ) RPM Mire RPMMIRE_DEFAULT ( int ) Search pattern is a regular expression with \. , .* , and ^...$ added. RPMMIRE_STRCMP ( int ) Search pattern is a string , using strcmp(3) . RPMMIRE_REGEX ( int ) Search pattern is a regular expression, using ...
https://man.mtool.work/php/8.3/rpminfo.constants.html
strcasecmp — 大文字小文字を区別しないバイナリセーフな文字列比較を行う | PHP 8.3 7932
strcasecmp (PHP 4, PHP 5, PHP 7, PHP 8) strcasecmp — 大文字小文字を区別しないバイナリセーフな文字列比較を行う 説明 function strcasecmp ( string $string1 , string $string2 ): int 大文字小文字を区別しないバイナリセーフな文字列比較を行います。 ... ( strcasecmp ( $var1 , $var2 ) == 0 ) { echo '$var1 is equal to $var2 in a case-insensitive string comparison' ; } ?> 参考 strcmp() - バイナリセーフな文字列比較 preg_match() - 正規表現によるマッチングを行う substr_compare() - 指定した位置から指定した長 ...
https://man.mtool.work/php/8.3/function.strcasecmp.html
SQLite3::createCollation — SQLのcollate関数として使うPHP関数を登録する | PHP 8.... 7932
SQLite3::createCollation (PHP 5 >= 5.3.11, PHP 7, PHP 8) SQLite3::createCollation — SQLのcollate関数として使うPHP関数を登録する 説明 public function SQLite3::createCollation ( string $name , callable $callback ): bool SQL文の中でcollate関数 ... callback collation の振る舞いを定義する、PHP関数または、 コールバックとして適用するユーザー定義関数。 2つの値を受けとり、 strcmp() 関数が返すのと同じ値を返します。つまり、 はじめの文字列が前の文字列より前にソートされる場合に-1、 後にソートされる場合に ...
https://man.mtool.work/php/8.3/sqlite3.createcollation.html
PREV 1 2 3 NEXT