« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 248 for numeric (0.004 sec.)
変数が数字または数値形式の文字列であるかを調べる 12577
« is_null is_object » PHP Manual 変数操作 関数 変数が数字または数値形式の文字列であるかを調べる 検索 is_numeric (PHP 4, PHP 5, PHP 7, PHP 8) is_numeric — 変数が数字または数値形式の文字列であるかを調べる 説明 function is_numeric ( mixed $val ... "42 " ) に対して、この関数は true を返すようになりました。 これより前のバージョンでは、 false を返していました。 例 例1 is_numeric() の例 <?php $tests = array( "42" , 1337 , 0x539 , 02471 , 0b10100111001 , 1337e0 , "0x539" , "02471" , "0b10100111001" , ... "1337e0" , "not numeric" , array(), 9.1 , null , '' , ); foreach ( $tests as $element ) { if ( is_numeric ( $element )) { echo var_export ( $eleme ... nt , true ) . " is numeric" , PHP_EOL ; } else { echo var_export ( $element , true ) . " is NOT numeric" , PHP_EOL ; } } ?> 上の例の出力は以下となりま ...
https://man.mtool.work/php/8.3/function.is-numeric.html
変数が数字または数値形式の文字列であるかを調べる 12527
« is_null is_object » PHP Manual 変数操作 関数 変数が数字または数値形式の文字列であるかを調べる 検索 is_numeric (PHP 4, PHP 5, PHP 7, PHP 8) is_numeric — 変数が数字または数値形式の文字列であるかを調べる 説明 function is_numeric ( mixed $val ... "42 " ) に対して、この関数は true を返すようになりました。 これより前のバージョンでは、 false を返していました。 例 例1 is_numeric() の例 <?php $tests = array( "42" , 1337 , 0x539 , 02471 , 0b10100111001 , 1337e0 , "0x539" , "02471" , "0b10100111001" , ... "1337e0" , "not numeric" , array(), 9.1 , null , '' , ); foreach ( $tests as $element ) { if ( is_numeric ( $element )) { echo var_export ( $eleme ... nt , true ) . " is numeric" , PHP_EOL ; } else { echo var_export ( $element , true ) . " is NOT numeric" , PHP_EOL ; } } ?> 上の例の出力は以下となりま ...
https://man.mtool.work/php/8.3/function.is-numeric.html
Returns numeric file descriptor of a socket, or stream 7701
« EventUtil::getLastSocketError EventUtil::getSocketName » PHP Manual EventUtil Returns numeric file descriptor of a socket, or stream 検索 EventUtil::getSocketFd (PECL event >= 1.7.0) EventUtil::getSocketFd — Returns numeric file descripto ... r of a socket, or stream 説明 public static function EventUtil::getSocketFd ( mixed $socket ): int Returns numeric file descriptor of a socket or stream specified by socket argument just like the Event extension does it internally for al ... l methods accepting socket resource or stream. パラメータ socket Socket resource or stream. 戻り値 Returns numeric file descriptor of a socket, or stream. EventUtil::getSocketFd() returns false in case if it is whether failed to recogniz ... t the file descriptor associated with socket is not valid. 関連キーワード: socket file stream EventUtil descriptor Returns numeric getSocketFd resource getLastSocketError Search getSocketName event static function mixed int specified argument like ...
https://man.mtool.work/php/8.3/eventutil.getsocketfd.html
Returns numeric file descriptor of a socket, or stream 7701
« EventUtil::getLastSocketError EventUtil::getSocketName » PHP Manual EventUtil Returns numeric file descriptor of a socket, or stream 検索 EventUtil::getSocketFd (PECL event >= 1.7.0) EventUtil::getSocketFd — Returns numeric file descripto ... r of a socket, or stream 説明 public static function EventUtil::getSocketFd ( mixed $socket ): int Returns numeric file descriptor of a socket or stream specified by socket argument just like the Event extension does it internally for al ... l methods accepting socket resource or stream. パラメータ socket Socket resource or stream. 戻り値 Returns numeric file descriptor of a socket, or stream. EventUtil::getSocketFd() returns false in case if it is whether failed to recogniz ... detected that the file descriptor associated with socket is not valid. 関連キーワード: socket stream EventUtil descriptor numeric getSocketFd resource getLastSocketError getSocketName event static mixed specified argument like Event extension internall ...
https://man.mtool.work/php/8.3/eventutil.getsocketfd.html
Sets the initial size of the collapse data structures when collapsing on a numer... 7299
« SolrCollapseFunction::setMax SolrCollapseFunction::setNullPolicy » PHP Manual SolrCollapseFunction Sets the initial size of the collapse data structures when collapsing on a numeric field only 検索 SolrCollapseFunction::setMin (PECL solr ... >= 2.2.0) SolrCollapseFunction::setMin — Sets the initial size of the collapse data structures when collapsing on a numeric field only 説明 public function SolrCollapseFunction::setMin ( string $min ): SolrCollapseFunction Sets the initial size o ... f the collapse data structures when collapsing on a numeric field only パラメータ min 戻り値 SolrCollapseFunction 関連キーワード: SolrCollapseFunction Sets initial size collapse stru ... ctures collapsing numeric setMin setMax setNullPolicy solr ...
https://man.mtool.work/php/8.3/solrcollapsefunction.setmin.html
Sets the initial size of the collapse data structures when collapsing on a numer... 7299
« SolrCollapseFunction::setNullPolicy SolrCollapseFunction::__toString » PHP Manual SolrCollapseFunction Sets the initial size of the collapse data structures when collapsing on a numeric field only 検索 SolrCollapseFunction::setSize (PECL ... solr >= 2.2.0) SolrCollapseFunction::setSize — Sets the initial size of the collapse data structures when collapsing on a numeric field only 説明 public function SolrCollapseFunction::setSize ( int $size ): SolrCollapseFunction Sets the initial size of ... the collapse data structures when collapsing on a numeric field only. パラメータ size 戻り値 SolrCollapseFunction 関連キーワード: SolrCollapseFunction size Sets initial collapse st ... ructures collapsing numeric setSize setNullPolicy toString solr ...
https://man.mtool.work/php/8.3/solrcollapsefunction.setsize.html
Sets the initial size of the collapse data structures when collapsing on a numer... 7248
« SolrCollapseFunction::setMax SolrCollapseFunction::setNullPolicy » PHP Manual SolrCollapseFunction Sets the initial size of the collapse data structures when collapsing on a numeric field only 検索 SolrCollapseFunction::setMin (PECL solr ... >= 2.2.0) SolrCollapseFunction::setMin — Sets the initial size of the collapse data structures when collapsing on a numeric field only 説明 public function SolrCollapseFunction::setMin ( string $min ): SolrCollapseFunction Sets the initial size o ... f the collapse data structures when collapsing on a numeric field only パラメータ min 戻り値 SolrCollapseFunction 関連キーワード: SolrCollapseFunction Sets initial size collapse data ... structures collapsing numeric field setMin min setMax Search setNullPolicy solr function string パラメータ 戻り値 ...
https://man.mtool.work/php/8.3/solrcollapsefunction.setmin.html
Sets the initial size of the collapse data structures when collapsing on a numer... 7248
« SolrCollapseFunction::setNullPolicy SolrCollapseFunction::__toString » PHP Manual SolrCollapseFunction Sets the initial size of the collapse data structures when collapsing on a numeric field only 検索 SolrCollapseFunction::setSize (PECL ... solr >= 2.2.0) SolrCollapseFunction::setSize — Sets the initial size of the collapse data structures when collapsing on a numeric field only 説明 public function SolrCollapseFunction::setSize ( int $size ): SolrCollapseFunction Sets the initial size of ... the collapse data structures when collapsing on a numeric field only. パラメータ size 戻り値 SolrCollapseFunction 関連キーワード: SolrCollapseFunction size Sets initial collapse da ... ta structures collapsing numeric field setSize setNullPolicy Search toString solr function int パラメータ 戻り値 navigate ...
https://man.mtool.work/php/8.3/solrcollapsefunction.setsize.html
数字かどうかを調べる 6997
« ctype_cntrl ctype_graph » PHP Manual Ctype 関数 数字かどうかを調べる 検索 ctype_digit (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_digit — 数字かどうかを調べる 説明 function ctype_digit ( mixed $text ): bool 与えられた文字列 text のすべての ... sts of all digits. The string wsl!12 does not consist of all digits. 例2 ctype_digit() で文字列と整数値を比較する例 <?php $numeric_string = '42' ; $integer = 42 ; ctype_digit ( $numeric_string ); // true ctype_digit ( $integer ); // false (ASCII 42 は * ... です) is_numeric ( $numeric_string ); // true is_numeric ( $integer ); // true ?> 参考 ctype_alnum() - 英数字かどうかを調べる ctype_xdigit( ... ) - 16 進数を表す文字かどうかを調べる is_numeric() - 変数が数字または数値形式の文字列であるかを調べる is_int() - 変数が整数型かどうかを検査する is_string() - 変数の型が文字 ...
https://man.mtool.work/php/8.3/function.ctype-digit.html
数字かどうかを調べる 6997
« ctype_cntrl ctype_graph » PHP Manual Ctype 関数 数字かどうかを調べる 検索 ctype_digit (PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8) ctype_digit — 数字かどうかを調べる 説明 function ctype_digit ( mixed $text ): bool 与えられた文字列 text のすべての ... sts of all digits. The string wsl!12 does not consist of all digits. 例2 ctype_digit() で文字列と整数値を比較する例 <?php $numeric_string = '42' ; $integer = 42 ; ctype_digit ( $numeric_string ); // true ctype_digit ( $integer ); // false (ASCII 42 は * ... です) is_numeric ( $numeric_string ); // true is_numeric ( $integer ); // true ?> 参考 ctype_alnum() - 英数字かどうかを調べる ctype_xdigit( ... ) - 16 進数を表す文字かどうかを調べる is_numeric() - 変数が数字または数値形式の文字列であるかを調べる is_int() - 変数が整数型かどうかを検査する is_string() - 変数の型が文字 ...
https://man.mtool.work/php/8.3/function.ctype-digit.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT