« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 9 of about 9 for consist (0.002 sec.)
ctype_lower — 小文字かどうかを調べる | PHP 8.3 11162
ctype_lower (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_lower — 小文字かどうかを調べる 説明 function ctype_lower ( mixed $text ): bool text のすべての文字が小文字だった場合に true 、そうでない場合に false を返します。 パラメータ text 調べる ... 'qiutoas' , 'QASsdks' ); foreach ( $strings as $testcase ) { if ( ctype_lower ( $testcase )) { echo "The string $testcase consists of all lowercase letters.\n" ; } else { echo "The string $testcase does not consist of all lowercase letters.\n" ; } } ?> ... 上の例の出力は以下となります。 The string aac123 does not consist of all lowercase letters. The string qiutoas consists of all lowercase letters. The string QASsdks does not consist of all ...
https://man.mtool.work/php/8.3/function.ctype-lower.html
ctype_punct — 空白、英数字以外の出力可能な文字かどうかを調べる | PHP 8.3 11162
ctype_punct (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_punct — 空白、英数字以外の出力可能な文字かどうかを調べる 説明 function ctype_punct ( mixed $text ): bool 与えられた文字列 text のすべての文字が 句読点であるかどうかを調べます。 パラメー ... ' , '!@ # $' , '*&$()' ); foreach ( $strings as $testcase ) { if ( ctype_punct ( $testcase )) { echo "The string $testcase consists of all punctuation.\n" ; } else { echo "The string $testcase does not consist of all punctuation.\n" ; } } ?> 上の例の出力 ... は以下となります。 The string ABasdk!@!$# does not consist of all punctuation. The string !@ # $ does not consist of all punctuation. The string *&$() consists of all punctuation. 参 ...
https://man.mtool.work/php/8.3/function.ctype-punct.html
ctype_upper — 大文字かどうか調べる | PHP 8.3 11162
ctype_upper (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_upper — 大文字かどうか調べる 説明 function ctype_upper ( mixed $text ): bool 与えられた文字列 text のすべての文字が 大文字であるかどうかを調べます。 パラメータ text 調べる文字列。 注意 ... 'LMNSDO' , 'akwSKWsm' ); foreach ( $strings as $testcase ) { if ( ctype_upper ( $testcase )) { echo "The string $testcase consists of all uppercase letters.\n" ; } else { echo "The string $testcase does not consist of all uppercase letters.\n" ; } } ?> ... 上の例の出力は以下となります。 The string AKLWC139 does not consist of all uppercase letters. The string LMNSDO consists of all uppercase letters. The string akwSKWsm does not consist of all ...
https://man.mtool.work/php/8.3/function.ctype-upper.html
ctype_digit — 数字かどうかを調べる | PHP 8.3 10353
ctype_digit (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_digit — 数字かどうかを調べる 説明 function ctype_digit ( mixed $text ): bool 与えられた文字列 text のすべての文字が 数字であるかどうかを調べます。 パラメータ text 調べる文字列。 注意 : ... ' , '10002' , 'wsl!12' ); foreach ( $strings as $testcase ) { if ( ctype_digit ( $testcase )) { echo "The string $testcase consists of all digits.\n" ; } else { echo "The string $testcase does not consist of all digits.\n" ; } } ?> 上の例の出力は以下とな ... ります。 The string 1820.20 does not consist of all digits. The string 10002 consists of all digits. The string wsl!12 does not consist of all digits. 例2 ctype_digit( ...
https://man.mtool.work/php/8.3/function.ctype-digit.html
ctype_alnum — 英数字かどうかを調べる | PHP 8.3 7549
ctype_alnum (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_alnum — 英数字かどうかを調べる 説明 function ctype_alnum ( mixed $text ): bool 与えられた文字列 text のすべての文字が英字または 数字であるかどうかを調べます。 パラメータ text 調べる文字 ... Cd1zyZ9' , 'foo!#$bar' ); foreach ( $strings as $testcase ) { if ( ctype_alnum ( $testcase )) { echo "The string $testcase consists of all letters or digits.\n" ; } else { echo "The string $testcase does not consist of all letters or digits.\n" ; } } ?> ... 上の例の出力は以下となります。 The string AbCd1zyZ9 consists of all letters or digits. The string foo!#$bar does not consist of all letters or digits. 参考 ctype_alpha() - 英字かどう ...
https://man.mtool.work/php/8.3/function.ctype-alnum.html
ctype_cntrl — 制御文字かどうかを調べる | PHP 8.3 7549
ctype_cntrl (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_cntrl — 制御文字かどうかを調べる 説明 function ctype_cntrl ( mixed $text ): bool 与えられた文字列 text のすべての文字が制御文字であるかどうかを調べます。 制御文字とは、例えばラインフィ ... 2' => 'arf12' ); foreach ( $strings as $name => $testcase ) { if ( ctype_cntrl ( $testcase )) { echo "The string ' $name ' consists of all control characters.\n" ; } else { echo "The string ' $name ' does not consist of all control characters.\n" ; } } ... ?> 上の例の出力は以下となります。 The string 'string1' consists of all control characters. The string 'string2' does not consist of all control characters. 参考 ctype_print() - 印字可能 ...
https://man.mtool.work/php/8.3/function.ctype-cntrl.html
ctype_xdigit — 16 進数を表す文字かどうかを調べる | PHP 8.3 7549
ctype_xdigit (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_xdigit — 16 進数を表す文字かどうかを調べる 説明 function ctype_xdigit ( mixed $text ): bool 与えられた文字列 text のすべての文字が 16 進の '数字' であるかどうかを調べます。 パラメータ ... 'AR1012' , 'ab12bc99' ); foreach ( $strings as $testcase ) { if ( ctype_xdigit ( $testcase )) { echo "The string $testcase consists of all hexadecimal digits.\n" ; } else { echo "The string $testcase does not consist of all hexadecimal digits.\n" ; } } ... ?> 上の例の出力は以下となります。 The string AB10BC99 consists of all hexadecimal digits. The string AR1012 does not consist of all hexadecimal digits. The string ab12bc99 consists of ...
https://man.mtool.work/php/8.3/function.ctype-xdigit.html
ctype_graph — 空白以外の印字可能な文字かどうかを調べる | PHP 8.3 7154
ctype_graph (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_graph — 空白以外の印字可能な文字かどうかを調べる 説明 function ctype_graph ( mixed $text ): bool 与えられた文字列 text のすべての文字が 実際に目に見える出力を行うかどうかを調べます。 パ ... > 'LKA#@%.54' ); foreach ( $strings as $name => $testcase ) { if ( ctype_graph ( $testcase )) { echo "The string ' $name ' consists of all (visibly) printable characters.\n" ; } else { echo "The string ' $name ' does not consist of all (visibly) printab ... le characters.\n" ; } } ?> 上の例の出力は以下となります。 The string 'string1' does not consist of all (visibly) printable characters. The string 'string2' consists of all (visibly) printable characters. The string 'st ... ring3' consists of all (visibly) printable characters. 参考 ctype_alnum() - 英数字かどうかを調べる ctype_print() - 印字可能な文字かどうか ...
https://man.mtool.work/php/8.3/function.ctype-graph.html
ctype_print — 印字可能な文字かどうかを調べる | PHP 8.3 7154
ctype_print (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_print — 印字可能な文字かどうかを調べる 説明 function ctype_print ( mixed $text ): bool 与えられた文字列 text のすべての文字が 印字可能な文字であるかどうかを調べます。 パラメータ text 調 ... > 'LKA#@%.54' ); foreach ( $strings as $name => $testcase ) { if ( ctype_print ( $testcase )) { echo "The string ' $name ' consists of all printable characters.\n" ; } else { echo "The string ' $name ' does not consist of all printable characters.\n" ; ... } } ?> 上の例の出力は以下となります。 The string 'string1' does not consist of all printable characters. The string 'string2' consists of all printable characters. The string 'string3' consists of a ...
https://man.mtool.work/php/8.3/function.ctype-print.html
PREV 1 NEXT