Results of 1 - 10 of about 52 for readable (0.002 sec.)
- ZMQPoll::poll — Poll the items | PHP 8.3 15159
- ZMQPoll::poll (PECL zmq >= 0.5.0) ZMQPoll::poll — Poll the items 説明 public function ZMQPoll::poll ( array &$readable , array &$writable , int $timeout = -1 ): int Polls the items in the current poll set. The readable and writable items ar
... e returned in the readable and writable parameters. ZMQPoll::getLastErrors() can be used to check if there were errors. パラメータ readable Array whe ... re readable ZMQSockets/PHP streams are returned. The array will be cleared at the beginning of the operation. writable Array where wri ... d = $poll -> add ( $server , ZMQ :: POLL_IN | ZMQ :: POLL_OUT ); echo "Added object with id " . $id . "\n" ; /* Initialise readable and writable arrays */ $readable = array(); $writable = array(); while ( true ) { /* Amount of events retrieved */ $events ...
-
https://man.mtool.work/php/8.3/zmqpoll.poll.html
- SplFileInfo::isReadable — ファイルが読み込み可能か調べる | PHP 8.3 11589
- SplFileInfo::isReadable (PHP 5 >= 5.1.2, PHP 7, PHP 8) SplFileInfo::isReadable — ファイルが読み込み可能か調べる 説明 public function SplFileInfo::isReadable (): bool ファイルが読み込み可能かどうかを調べます。 パラメータ この関数にはパラメー
... タはありません。 戻り値 読み込み可能である場合に true 、そうでない場合に false を返します。 例 例1 SplFileInfo::isReadable() の例 <?php $info = new SplFileInfo ( 'readable.jpg' ); if ( $info -> isReadable ()) { echo $info -> getFilename () . ' i ... s readable' ; } ?> 上の例の出力は、 たとえば以下のようになります。 readable.jpg is readable ...
-
https://man.mtool.work/php/8.3/splfileinfo.isreadable.html
- MongoDB\Driver\TopologyDescription::hasReadableServer — Returns whether the top... 10604
- MongoDB\Driver\TopologyDescription::hasReadableServer (mongodb >=1.13.0) MongoDB\Driver\TopologyDescription::hasReadableServer — Returns whether the topology has a readable server 説明 final public function MongoDB\Driver\TopologyDescriptio
... n::hasReadableServer ( ? MongoDB\Driver\ReadPreference $readPreference = null ): bool Returns whether the topology has a readable server ... g the specified read preference. パラメータ この関数にはパラメータはありません。 戻り値 Returns whether the topology has a readable server or, if readPreference is specified, a server matching the specified read preference. エラー / 例外 Throws MongoDB\D ...
-
https://man.mtool.work/php/8.3/mongodb-driver-topologydescription.hasreadableser...
- is_readable — ファイルが存在し、読み込み可能であるかどうかを知る | PHP 8.3 10305
- is_readable (PHP 4, PHP 5, PHP 7, PHP 8) is_readable — ファイルが存在し、読み込み可能であるかどうかを知る 説明 function is_readable ( string $filename ): bool ファイルが存在し、読み込み可能であるかどうかを調べます。 パラメータ filename ファ
... 込み可能であれば true 、それ以外の場合に false を返します。 エラー / 例外 失敗したときは E_WARNING が発生します。 例 例1 is_readable() の例 <?php $filename = 'test.txt' ; if ( is_readable ( $filename )) { echo 'このファイルは読み込み可能です' ; } else { e ...
-
https://man.mtool.work/php/8.3/function.is-readable.html
- Yac::delete — Remove items from cache | PHP 8.3 8632
- Yac::delete (PECL yac >= 1.0.0) Yac::delete — Remove items from cache 説明 public function Yac::delete ( string | array $key , int $delay = 0 ): bool Removes one or more items from the cache. 注意 : Deletion is implemented by marking the en
... try expired rather than clearing its slot: the entry immediately stops being readable, but the slot stays occupied until the same key is stored again or a later write reclaims the slot. As a result, the used- ... before the item becomes invalid. When omitted or 0 , the item is invalidated immediately. A positive value keeps the item readable for that many seconds before it expires. 戻り値 Returns true on success, or false if the key was not present in the cache. ... )); // "foo" is still listed; its ttl // is in the past ?> 例2 Delayed deletion <?php $yac = new Yac (); // keep the entry readable for 60 more seconds before it expires $yac -> set ( "tmp" , "value" ); var_dump ( $yac -> delete ( "tmp" , 60 )); // bool( ...
-
https://man.mtool.work/php/8.3/yac.delete.html
- WinCache 関数への切り替え | PHP 8.3 8333
- WinCache 関数への切り替え 注意: wincache.rerouteini は WinCache 1.3.7.0 で削除されました。かわりに、自動的な関数置き換え機能を利用します。 wincache.reroute_enabled を参照ください。 WinCache の関数切り替え機能 (WinCache 1.2.0 以降で使用可能で
... せることができるでしょう。 最適化した実装が用意されている関数は、次のとおりです。 file_exists file_get_contents readfile is_readable is_writable is_dir realpath filesize WinCache の関数切り替え機能を使えるよう設定するには、WinCache のインストールパッケージ ... routeList] file_exists=wincache_file_exists file_get_contents:2=wincache_file_get_contents readfile:2=wincache_readfile is_readable=wincache_is_readable is_writable=wincache_is_writable is_writeable=wincache_is_writable is_file=wincache_is_file is_dir=wi ...
-
https://man.mtool.work/php/8.3/wincache.reroutes.html
- Swoole\Event::set — Modify event listener callbacks and mask | PHP 8.3 8229
- Swoole\Event::set (PECL swoole >= 1.9.0) Swoole\Event::set — Modify event listener callbacks and mask 説明 public static function Swoole\Event::set ( mixed $sock , callable $read_callback , callable $write_callback = ? , int $flags = ? ): b
... Modifies the event listener callbacks and mask for the given file descriptor. 注意 : When $read_callback is not null, the readable event callback function will be modified to the specified function. 注意 : When $write_callback is not null, the writable ... false. パラメータ sock File descriptor, stream resource, sockets resource, or object. read_callback Callback function for readable events. write_callback Callback function for writable events. flags Event type mask (e.g. SWOOLE_EVENT_READ , SWOOLE_EVENT ...
-
https://man.mtool.work/php/8.3/swoole-event.set.html
- クラスの抽象化 | PHP 8.3 7930
- クラスの抽象化 PHP には、抽象クラス、抽象メソッド、抽象プロパティがあります。 abstract として定義された抽象クラスのインスタンスを生成することはできず、 1つ以上の抽象メソッドや抽象プロパティを含むクラスは抽象クラスでなければいけません。 abst
... abstract class A { // 継承するクラスは、public に読み取り可能なプロパティを持たなければなりません abstract public string $readable { get ; } // 継承するクラスは、protected または public に書き込み可能なプロパティを持たなければなりません abstract protect ... ing $both { get ; set ; } } class C extends A { // 要件を満たし、さらに書き込みも可能にしているため有効です public string $readable ; // public に読み取り可能でないため、要件を満たしません protected string $readable ; // 要件を正確に満たしているため有効で ...
-
https://man.mtool.work/php/8.3/language.oop5.abstract.html
- var_representation 関数 | PHP 8.3 7841
- var_representation 関数 目次 var_representation — Returns a short, readable, parsable string representation of a variable 他のマニュアルの関連ページ DuckDB Geometry Functions Linux JM hosts_access(3) DuckDB Execution Format DuckDB Blob Func
...
-
https://man.mtool.work/php/8.3/ref.var-representation.html
- GearmanWorker::error — Get the last error encountered | PHP 8.3 7736
- GearmanWorker::error (PECL gearman >= 0.5.0) GearmanWorker::error — Get the last error encountered 説明 public function GearmanWorker::error (): string | false Returns an error string for the last error encountered. パラメータ この関数にはパ
... ラメータはありません。 戻り値 A human readable error string, or false if there is no error message available. 参考 GearmanWorker::getErrno() - Get errno ...
-
https://man.mtool.work/php/8.3/gearmanworker.error.html