« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 18 for strncmp (0.004 sec.)
strncmp — 最初の n 文字についてバイナリセーフな文字列比較を行う | PHP 8.3 14258
strncmp (PHP 4, PHP 5, PHP 7, PHP 8) strncmp — 最初の n 文字についてバイナリセーフな文字列比較を行う 説明 function strncmp ( string $string1 , string $string2 , int $length ): int この関数は strcmp() に似ていますが、 各文字列から比較に使用す ... 場合に strlen($string1) - strlen($string2) を返すとは限らなくなりました。 代わりに、 -1 や 1 を返す可能性があります。 例 例1 strncmp() の例 <?php $var1 = 'Hello John' ; $var2 = 'Hello Doe' ; if ( strncmp ( $var1 , $var2 , 5 ) === 0 ) { echo 'First 5 chara ... 文字列が最初に現れる位置を見つける 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
EventBufferEvent::sslFilter — Create a new SSL buffer event to send its data ov... 10981
EventBufferEvent::sslFilter (PECL event >= 1.2.6-beta) EventBufferEvent::sslFilter — Create a new SSL buffer event to send its data over another buffer event 説明 public static function EventBufferEvent::sslFilter ( EventBase $base , EventB ... ; $this -> cmd ( $buffer , $id , $line ); } } } protected function cmd ( $buffer , $id , $line ) { switch ( $line ) { case strncmp ( 'EHLO ' , $line , 4 ): $this -> ev_write ( $id , "250-STARTTLS\r\n" ); $this -> ev_write ( $id , "250 OK ehlo\r\n" ); br ... eak; case strncmp ( 'HELO ' , $line , 4 ): $this -> ev_write ( $id , "250-STARTTLS\r\n" ); $this -> ev_write ( $id , "250 OK helo\r\n" ); br ... eak; case strncmp ( 'QUIT' , $line , 3 ): $this -> ev_write ( $id , "250 OK quit\r\n" ); $this -> ev_close ( $id ); break; case strncmp ( 'S ...
https://man.mtool.work/php/8.3/eventbufferevent.sslfilter.html
strcoll — ロケールに基づく文字列比較 | PHP 8.3 9334
strcoll (PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8) strcoll — ロケールに基づく文字列比較 説明 function strcoll ( string $string1 , string $string2 ): int この比較は大文字小文字を区別すること、そして、 strcmp() とは異なり、 バイナリセーフではないこ ... 字小文字を区別しない strstr strncasecmp() - バイナリセーフで大文字小文字を区別しない文字列比較を、最初の n 文字について行う strncmp() - 最初の n 文字についてバイナリセーフな文字列比較を行う 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
strncasecmp — バイナリセーフで大文字小文字を区別しない文字列比較を、最初の n 文... 9196
strncasecmp (PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8) strncasecmp — バイナリセーフで大文字小文字を区別しない文字列比較を、最初の n 文字について行う 説明 function strncasecmp ( string $string1 , string $string2 , int $length ): int この関数は、 ... , 5 ) === 0 ) { echo 'First 5 characters of $var1 and $var2 are equal in a case-insensitive string comparison' ; } ?> 参考 strncmp() - 最初の n 文字についてバイナリセーフな文字列比較を行う preg_match() - 正規表現によるマッチングを行う substr_compare() - ... strstr substr() - 文字列の一部分を返す 他のマニュアルの関連ページ Linux JM strcasecmp(3) Linux JM strncasecmp(3) Linux JM strncmp(3) Linux JM strlen(3) Linux JM wcsncasecmp(3) Linux JM string(3) ...
https://man.mtool.work/php/8.3/function.strncasecmp.html
get_defined_functions — 定義済みの全ての関数を配列で返す | PHP 8.3 8922
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 すべての定義済み関数を配列で返します。 パラメー ... ray ( [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
strcmp — バイナリセーフな文字列比較 | PHP 8.3 8922
strcmp (PHP 4, PHP 5, PHP 7, PHP 8) strcmp — バイナリセーフな文字列比較 説明 function strcmp ( string $string1 , string $string2 ): int この比較は大文字小文字を区別することに注意してください。 大文字小文字を区別しない比較をする場合は、 strc ... く文字列比較 文字列の部分比較 substr_compare() - 指定した位置から指定した長さの 2 つの文字列について、バイナリ対応で比較する strncmp() - 最初の n 文字についてバイナリセーフな文字列比較を行う strstr() - 文字列が最初に現れる位置を見つける 文字列の類似度 / そ ... する 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
substr_compare — 指定した位置から指定した長さの 2 つの文字列について、バイナリ... 8785
substr_compare (PHP 5, PHP 7, PHP 8) substr_compare — 指定した位置から指定した長さの 2 つの文字列について、バイナリ対応で比較する 説明 function substr_compare ( string $haystack , string $needle , int $offset , ? int $length = null , bool $ ... mpare ( "abcde" , "cd" , 1 , 2 ), PHP_EOL ; // -1 echo substr_compare ( "abcde" , "abc" , 5 , 1 ), PHP_EOL ; // -1 ?> 参考 strncmp() - 最初の n 文字についてバイナリセーフな文字列比較を行う 他のマニュアルの関連ページ Linux JM strlen(3) DuckDB Variant Fun ... ctions Django 3.2.7 Linux JM uuid_unparse(3) Python mmap Linux JM strncmp(3) ...
https://man.mtool.work/php/8.3/function.substr-compare.html
strnatcmp — "自然順"アルゴリズムにより文字列比較を行う | PHP 8.3 8647
strnatcmp (PHP 4, PHP 5, PHP 7, PHP 8) strnatcmp — "自然順"アルゴリズムにより文字列比較を行う 説明 function strnatcmp ( string $string1 , string $string2 ): int この関数は、人間が行うような手法でアルファベットまたは数字の 文字列の順序を比較 ... 比較を行う substr() - 文字列の一部分を返す stristr() - 大文字小文字を区別しない strstr strcmp() - バイナリセーフな文字列比較 strncmp() - 最初の n 文字についてバイナリセーフな文字列比較を行う strncasecmp() - バイナリセーフで大文字小文字を区別しない文字列比 ... アルの関連ページ Linux JM strcmp(3) Linux JM strncasecmp(3) Linux JM strstr(3) Linux JM look(1) Linux JM strlen(3) Linux JM strncmp(3) ...
https://man.mtool.work/php/8.3/function.strnatcmp.html
Imagick::getImageLength — 画像の長さをバイト数で取得する | PHP 8.3 8510
Imagick::getImageLength (PECL imagick 2, PECL imagick 3) Imagick::getImageLength — 画像の長さをバイト数で取得する 説明 public function Imagick::getImageLength (): int 画像の長さをバイト数で返します。 パラメータ この関数にはパラメータはありま ... ニュアルの関連ページ 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
例 | PHP 8.3 7961
例 例1 Simple HTTP client <?php // Read callback function readcb ( $bev , $base ) { //$input = $bev->input; //$bev->getInput(); //$pos = $input->search("TTP"); $pos = $bev -> input -> search ( "TTP" ); while (( $n = $bev -> input -> remove ... ; $this -> cmd ( $buffer , $id , $line ); } } } protected function cmd ( $buffer , $id , $line ) { switch ( $line ) { case strncmp ( 'EHLO ' , $line , 4 ): $this -> ev_write ( $id , "250-STARTTLS\r\n" ); $this -> ev_write ( $id , "250 OK ehlo\r\n" ); br ... eak; case strncmp ( 'HELO ' , $line , 4 ): $this -> ev_write ( $id , "250-STARTTLS\r\n" ); $this -> ev_write ( $id , "250 OK helo\r\n" ); br ... eak; case strncmp ( 'QUIT' , $line , 3 ): $this -> ev_write ( $id , "250 OK quit\r\n" ); $this -> ev_close ( $id ); break; case strncmp ( 'S ...
https://man.mtool.work/php/8.3/event.examples.html
PREV 1 2 NEXT