« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 74 for exist (0.001 sec.)
Swoole\Server::exist — Check if the connection is existed. | PHP 8.3 11968
Swoole\Server::exist (PECL swoole >= 1.9.0) Swoole\Server::exist — Check if the connection is existed. 説明 public function Swoole\Server::exist ( int $fd ): bool パラメータ fd 戻り値 他のマニュアルの関連ページ Docker Docker EE DuckDB ADBC ...
https://man.mtool.work/php/8.3/swoole-server.exist.html
Swoole\WebSocket\Server::exist — Check if the file descriptor exists. | PHP 8.3 11829
Swoole\WebSocket\Server::exist (PECL swoole >= 1.9.0) Swoole\WebSocket\Server::exist — Check if the file descriptor exists. 説明 public function Swoole\WebSocket\Server::exist ( int $fd ): bool パラメータ fd 戻り値 他のマニュアルの関連ページ ...
https://man.mtool.work/php/8.3/swoole-websocket-server.exist.html
Swoole\Table::exist — Check if a row is existed by $row_key. | PHP 8.3 11703
Swoole\Table::exist (PECL swoole >= 1.9.0) Swoole\Table::exist — Check if a row is existed by $row_key. 説明 public function Swoole\Table::exist ( string $key ): bool パラメータ key 戻り値 他のマニュアルの関連ページ Python none DuckDB Table ...
https://man.mtool.work/php/8.3/swoole-table.exist.html
RarException::setUsingExceptions — 例外によるエラー処理の有効化および無効化を行... 11048
RarException::setUsingExceptions (PECL rar >= 2.0.0) RarException::setUsingExceptions — 例外によるエラー処理の有効化および無効化を行う 説明 public static function RarException::setUsingExceptions ( bool $using_exceptions ): void 引数に true ... ::setUsingExceptions() の例 <?php var_dump ( RarException :: isUsingExceptions ()); $arch = RarArchive :: open ( "does_not_exist.rar" ); var_dump ( $arch ); RarException :: setUsingExceptions ( true ); var_dump ( RarException :: isUsingExceptions ()); ... $arch = RarArchive :: open ( "does_not_exist.rar" ); var_dump ( $arch ); //not reached ?> 上の例の出力は、 たとえば以下のようになります。 bool(false) Warning: RarArchi ... ve::open(): Failed to open does_not_exist.rar: ERAR_EOPEN (file open error) in C:\php_rar\trunk\tests\test.php on line 3 bool(false) bool(true) Fatal error: Uncaugh ...
https://man.mtool.work/php/8.3/rarexception.setusingexceptions.html
cubrid_is_instance — Check whether the instance pointed by OID exists | PHP 8.3 9335
cubrid_is_instance (PECL CUBRID >= 8.3.0) cubrid_is_instance — Check whether the instance pointed by OID exists 説明 function cubrid_is_instance ( resource $conn_identifier , string $oid ): int The cubrid_is_instance() function is used to c ... heck whether the instance pointed by the given oid exists or not. パラメータ conn_identifier Connection identifier. oid OID of the instance that you want to check the existence. 戻 ... り値 1, if such instance exists; 0, if such instance does not exist; -1, in case of error 例 例1 cubrid_is_instance() example <?php $conn = cubrid_connec ... cubrid_current_oid ( $req ); $res = cubrid_is_instance ( $conn , $oid ); if ( $res == 1 ) { echo "Instance pointed by $oid exists.\n" ; } else if ( $res == 0 ){ echo "Instance pointed by $oid doesn't exist.\n" ; } else { echo "error\n" ; } cubrid_disc ...
https://man.mtool.work/php/8.3/function.cubrid-is-instance.html
apcu_exists — エントリが存在するかどうかを調べる | PHP 8.3 9070
apcu_exists (PECL apcu >= 4.0.0) apcu_exists — エントリが存在するかどうかを調べる 説明 function apcu_exists ( string | array $keys ): bool | array 指定した APCu エントリが存在するかどうかを調べます。 パラメータ keys キーを含む文字列、あるい ... eys に配列を渡したときは、 存在するキーをすべて含む配列を返します。 どれも存在しない場合は空の配列を返します。 例 例1 apcu_exists() の例 <?php $fruit = 'apple' ; $veggie = 'carrot' ; apcu_store ( 'foo' , $fruit ); apcu_store ( 'bar' , $veggie ); if ( ... apcu_exists ( 'foo' )) { echo "Foo exists: " ; echo apcu_fetch ( 'foo' ); } else { echo "Foo does not exist" ; } echo PHP_EOL ; if ( ... apcu_exists ( 'baz' )) { echo "Baz exists." ; } else { echo "Baz does not exist" ; } echo PHP_EOL ; $ret = apcu_exists (array( 'foo' ...
https://man.mtool.work/php/8.3/function.apcu-exists.html
The EvStat class | PHP 8.3 8541
The EvStat class (PECL ev >= 0.2.0) はじめに EvStat monitors a file system path for attribute changes. It calls stat() on that path in regular intervals (or when the OS signals it changed) and sees if it changed compared to the last time, i ... nvoking the callback if it did. The path does not need to exist: changing from "path exists" to "path does not exist" is a status change like any other. The condition "path does not exis ...
https://man.mtool.work/php/8.3/class.evstat.html
Quickhash | PHP 8.3 8415
Quickhash はじめに The quickhash extension contains a set of specific strongly-typed classes to deal with specific set and hash implementations. インストール/設定 要件 インストール手順 例 QuickHashIntSet — The QuickHashIntSet class QuickHas ... Creates a new QuickHashIntSet object QuickHashIntSet::delete — This method deletes an entry from the set QuickHashIntSet::exists — This method checks whether a key is part of the set QuickHashIntSet::getSize — Returns the number of elements in the se ... ates a new QuickHashIntHash object QuickHashIntHash::delete — This method deletes an entry from the hash QuickHashIntHash::exists — This method checks whether a key is part of the hash QuickHashIntHash::get — This method retrieves a value from the has ... QuickHashIntHash::set — This method updates an entry in the hash with a new value, or adds a new one if the entry doesn't exist QuickHashIntHash::update — This method updates an entry in the hash with a new value QuickHashStringIntHash — The QuickHas ...
https://man.mtool.work/php/8.3/book.quickhash.html
ユーザー定義関数 | PHP 8.3 8415
ユーザー定義関数 関数は、 function キーワードと関数の名前、 カンマ( , ) で区切ったパラメータのリスト (空であっても構いません)を括弧で囲み、 関数の本体を波括弧で囲んだものを続けて定義します。 たとえば、以下のようになります: 例1 foo という名 ... ここでは関数foo()はまだ定義されていないので コールすることはできません。 しかし関数 bar()はコールできます。 */ if ( function_exists ( 'foo' )) { foo (); } else { echo "Function foo does not exist (yet).\n" ; } bar (); if ( $makefoo ) { function foo () { ... echo "I don't exist until program execution reaches me.\n" ; } } /* ここでは $makefooがtrueと評価されているため 安全にfoo()をコールすることがで ... きます。 */ if ( $makefoo ) foo (); function bar () { echo "I exist immediately upon program start.\n" ; } 例3 関数の中の関数 <?php function foo () { function bar () { echo "I don't exist un ...
https://man.mtool.work/php/8.3/functions.user-defined.html
The Swoole\WebSocket\Server class | PHP 8.3 8276
The Swoole\WebSocket\Server class (PECL swoole >= 1.9.0) はじめに クラス概要 class Swoole\WebSocket\Server extends Swoole\Http\Server { /* メソッド */ public function exist ( int $fd ): bool public function on ( string $event_name , callabl ... event_name , callable $callback ): void public function Swoole\Http\Server::start (): void } 目次 Swoole\WebSocket\Server::exist — Check if the file descriptor exists. Swoole\WebSocket\Server::on — Register event callback function Swoole\WebSocket\Ser ...
https://man.mtool.work/php/8.3/class.swoole-websocket-server.html
PREV 1 2 3 4 5 6 7 8 NEXT