« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 7 of about 7 for descriptors (0.001 sec.)
Swoole\Server::getClientInfo — Get the connection info by file description. | P... 12523
Swoole\Server::getClientInfo (PECL swoole >= 1.9.0) Swoole\Server::getClientInfo — Get the connection info by file description. 説明 public function Swoole\Server::getClientInfo ( int $fd , int $reactor_id = ? , bool $ignore_error = ? ): ar ... ray パラメータ fd File descriptors. reactor_id The Reactor thread ID where the connection is made. ignore_error Whether to ignore errors, if set to true, con ...
https://man.mtool.work/php/8.3/swoole-server.getclientinfo.html
The EventListener class | PHP 8.3 9742
The EventListener class (PECL event >= 1.5.0) はじめに Represents a connection listener. クラス概要 final class EventListener { /* 定数 */ const int OPT_LEAVE_SOCKETS_BLOCKING = 1 ; const int OPT_CLOSE_ON_FREE = 2 ; const int OPT_CLOSE_ON_E ... (Added in event-1.6.0 .) 定義済み定数 EventListener::OPT_LEAVE_SOCKETS_BLOCKING By default Libevent turns underlying file descriptors, or sockets, to non-blocking mode. This flag tells Libevent to leave them in blocking mode. EventListener::OPT_CLOSE_ON_FR ...
https://man.mtool.work/php/8.3/class.eventlistener.html
The EvIo class | PHP 8.3 9742
The EvIo class (PECL ev >= 0.2.0) はじめに EvIo watchers check whether a file descriptor(or socket, or a stream castable to numeric file descriptor) is readable or writable in each iteration of the event loop, or, more precisely, when readi ... ceiving events just stop the watcher. The number of read and/or write event watchers per fd is unlimited. Setting all file descriptors to non-blocking mode is also usually a good idea(but not required). Another thing to watch out for is that it is quite eas ...
https://man.mtool.work/php/8.3/class.evio.html
The Swoole\Event class | PHP 8.3 9742
The Swoole\Event class (PECL swoole >= 1.9.0) はじめに The Swoole extension provides low-level interfaces to directly manipulate the underlying epoll/kqueue/poll/select event loop. It allows adding sockets created by other extensions or PHP ... ution functions set via Event::defer Periodic callback functions set via Event::cycle Swoole Event Socket Type fd int File descriptors, including Swoole\Client->$sock, Swoole\Process->$pipe, or any other file descriptor (fd). stream resource resource Resour ...
https://man.mtool.work/php/8.3/class.swoole-event.html
新機能 | PHP 8.3 7415
新機能 PHP コア 型付きプロパティ クラスのプロパティは、新たに型宣言をサポートするようになりました <?php class User { public int $id ; public string $name ; } ?> 上の例は、 $user->id には int の 値だけを、そして $user->name には string の値だ ... 接オープンされ、PHP が必要な引数のエスケープをすべて行います。 <?php proc_open ([ 'php' , '-r' , 'echo "Hello World\n";' ], $descriptors , $pipes ); ?> proc_open() が、 redirect と null ディスクリプタをサポートしました。 <?php // シェルにおける 2>&1 のような操 ...
https://man.mtool.work/php/8.3/migration74.new-features.html
New Features | PHP 8.3 7415
New Features PHP Core Default values for readonly properties Readonly properties may now declare default values. <?php class Config { public readonly int $timeout = 30 ; } $config = new Config (); var_dump ( $config -> timeout ); // int(30) ... at buffer automatically, so the size read back can differ from the one requested. Filtered streams can now be cast to file descriptors for use with stream_select() . Added the "write_seek_mode" filter parameter for the bz2, iconv, zlib, and convert stream f ...
https://man.mtool.work/php/8.3/migration86.new-features.html
定義済み定数 | PHP 8.3 6961
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 AF_UNIX ( int ) Unixドメイン中のファイルシステムパス名を示す、 ソケットアドレ ... int ) No medium found. SOCKET_EMEDIUMTYPE ( int ) Wrong medium type. SCM_RIGHTS ( int ) Send or receive a set of open file descriptors from another process. SCM_CREDENTIALS ( int ) SCM_CREDS ( int ) PHP 8.2.0 以降で利用可能。 SCM_CREDS2 ( int ) PHP 8.2.0 以 ...
https://man.mtool.work/php/8.3/sockets.constants.html
PREV 1 NEXT