Results of 1 - 8 of about 8 for getFeatures (0.003 sec.)
- EventBase::getFeatures — Returns bitmask of features supported | PHP 8.3 13465
- EventBase::getFeatures (PECL event >= 1.2.6-beta) EventBase::getFeatures — Returns bitmask of features supported 説明 public function EventBase::getFeatures (): int Returns bitmask of features supported. パラメータ この関数にはパラメータはあ
... り値 Returns integer representing a bitmask of supported features. See EventConfig::FEATURE_* constants . 例 例1 EventBase::getFeatures() example <?php // Avoiding "select" method $cfg = new EventConfig (); if ( $cfg -> avoidMethod ( "select" )) { echo "'sel ... ect' method avoided\n" ; } $base = new EventBase ( $cfg ); echo "Features:\n" ; $features = $base -> getFeatures (); ( $features & EventConfig :: FEATURE_ET ) and print "ET - edge-triggered IO\n" ; ( $features & EventConfig :: FEATURE_ ...
-
https://man.mtool.work/php/8.3/eventbase.getfeatures.html
- EventConfig::requireFeatures — Enters a required event method feature that the ... 9651
- EventConfig::requireFeatures (PECL event >= 1.2.6-beta) EventConfig::requireFeatures — Enters a required event method feature that the application demands 説明 public function EventConfig::requireFeatures ( int $feature ): bool Enters a req
... atures ( EventConfig :: FEATURE_FDS )) { echo "FDS feature is now required\n" ; $base = new EventBase ( $cfg ); ( $base -> getFeatures () & EventConfig :: FEATURE_FDS ) and print "FDS - arbitrary file descriptor types, and not just sockets\n" ; } ?> 上の例の ... 下のようになります。 FDS feature is now required FDS - arbitrary file descriptor types, and not just sockets 参考 EventBase::getFeatures() - Returns bitmask of features supported 他のマニュアルの関連ページ Django 5.1.6 Linux JM fanotify_mark(2) ...
-
https://man.mtool.work/php/8.3/eventconfig.requirefeatures.html
- The EventBase class | PHP 8.3 8892
- The EventBase class (PECL event >= 1.2.6-beta) はじめに EventBase class represents libevent's event base structure. It holds a set of events and can poll to determine which events are active. Each event base has a method , or a backend that
... function dispatch (): void public function exit ( float $timeout = ? ): bool public function free (): void public function getFeatures (): int public function getMethod (): string public function getTimeOfDayCached (): float public function gotExit (): bool ... events EventBase::exit — Stop dispatching events EventBase::free — Free resources allocated for this event base EventBase::getFeatures — Returns bitmask of features supported EventBase::getMethod — Returns event method in use EventBase::getTimeOfDayCached — ...
-
https://man.mtool.work/php/8.3/class.eventbase.html
- EventConfig::setFlags — Sets one or more flags that configure how the eventual ... 8711
- EventConfig::setFlags (PECL event >= 2.0.2-alpha) EventConfig::setFlags — Sets one or more flags that configure how the eventual EventBase will be initialized 説明 public function EventConfig::setFlags ( int $flags ): bool Sets one or more
... OP_* constants. See EventBase constants . 戻り値 成功した場合に true を、失敗した場合に false を返します。 参考 EventBase::getFeatures() - Returns bitmask of features supported 他のマニュアルの関連ページ Python constants ...
-
https://man.mtool.work/php/8.3/eventconfig.setflags.html
- EventBase::getMethod — Returns event method in use | PHP 8.3 8531
- EventBase::getMethod (PECL event >= 1.2.6-beta) EventBase::getMethod — Returns event method in use 説明 public function EventBase::getMethod (): string パラメータ この関数にはパラメータはありません。 戻り値 String representing used event me
... _EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 `select' method avoided Event method used: epoll 参考 EventBase::getFeatures() - Returns bitmask of features supported 他のマニュアルの関連ページ Linux JM epoll_ctl(2) Linux JM epoll_create1(2) ...
-
https://man.mtool.work/php/8.3/eventbase.getmethod.html
- Event | PHP 8.3 7790
- Event はじめに This is an extension to efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available for specific platform. This is a port of libevent to the PHP infrastructure. 注意 : Note, Wind
... events EventBase::exit — Stop dispatching events EventBase::free — Free resources allocated for this event base EventBase::getFeatures — Returns bitmask of features supported EventBase::getMethod — Returns event method in use EventBase::getTimeOfDayCached — ...
-
https://man.mtool.work/php/8.3/book.event.html
- 例 | PHP 8.3 7790
- 例 例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
... ventBase ( $cfg ); echo "Event method used: " , $base -> getMethod (), PHP_EOL ; echo "Features:\n" ; $features = $base -> getFeatures (); ( $features & EventConfig :: FEATURE_ET ) and print "ET - edge-triggered IO\n" ; ( $features & EventConfig :: FEATURE_ ... atures ( EventConfig :: FEATURE_FDS )) { echo "FDS feature is now required\n" ; $base = new EventBase ( $cfg ); ( $base -> getFeatures () & EventConfig :: FEATURE_FDS ) and print "FDS - arbitrary file descriptor types, and not just sockets\n" ; } /* }}} */ ...
-
https://man.mtool.work/php/8.3/event.examples.html
- 関数・メソッド | PHP 8.3 7410
- 関数・メソッド マニュアル内の全関数およびメソッドの一覧 a b c d e f g h i j k l m n o p q r s t u v w x y z _ a abs - 絶対値 acos - 逆余弦(アークコサイン) acosh - 逆双曲線余弦(アークハイパボリックコサイン) addcslashes - C 言語と同様にス
... events EventBase::exit - Stop dispatching events EventBase::free - Free resources allocated for this event base EventBase::getFeatures - Returns bitmask of features supported EventBase::getMethod - Returns event method in use EventBase::getTimeOfDayCached - ...
-
https://man.mtool.work/php/8.3/indexes.functions.html
PREV
1
NEXT