« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 42 for Terminal (0.008 sec.)
ssh2_shell_resize — Change the dimensions of a channel's pseudo-terminal | PHP ... 16753
ssh2_shell_resize (PECL ssh2 >= 1.4) ssh2_shell_resize — Change the dimensions of a channel's pseudo-terminal 説明 function ssh2_shell_resize ( resource $channel , int $width , int $height , int $width_px = 0 , int $height_px = 0 ): bool Re ... quests that the pseudo-terminal (PTY) attached to the given channel be resized to the given dimensions. 注意 : The extension declares only the first three ... ositionally. パラメータ channel An SSH channel stream, as returned by ssh2_exec() or ssh2_shell() . width The width of the terminal, in characters. height The height of the terminal, in characters. width_px The width of the terminal in pixels, or 0 to le ... ave the pixel dimensions unspecified. height_px The height of the terminal in pixels, or 0 to leave the pixel dimensions unspecified. 戻り値 Returns true , or false when channel is not an SSH chann ...
https://man.mtool.work/php/8.3/function.ssh2-shell-resize.html
Constructing signal events | PHP 8.3 9708
Constructing signal events Event can also watch for POSIX-style signals. To construct a handler for a signal, use Event::__construct() constructor with Event::SIGNAL flag, or Event::signal() factory method. 例1 Handling SIGTERM signal <?php ... /* Launch it in a terminal window: $ php examples/signal.php In another terminal window find out the pid and send SIGTERM, e.g.: $ ps aux | grep exam ... xamples/signal.php ruslan 3978 0.0 0.0 9572 864 pts/2 S+ 10:26 0:00 grep --color=auto examp $ kill -TERM 3976 At the first terminal window you should catch the following: Caught signal 15 */ class MyEventSignal { private $base , $ev ; public function __c ...
https://man.mtool.work/php/8.3/event.constructing.signal.events.html
例 | PHP 8.3 9243
例 例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 ... patch (); ?> 例3 Echo server <?php /* * Simple echo server based on libevent's connection listener. * * Usage: * 1) In one terminal window run: * * $ php listener.php 9881 * * 2) In another terminal window open up connection, e.g.: * * $ nc 127.0.0.1 988 ... erver <?php /* * SSL echo server * * To test: * 1) Run: * $ php examples/ssl-echo-server/server.php 9998 * * 2) in another terminal window run: * $ socat - SSL:127.0.0.1:9998,verify=1,cafile=examples/ssl-echo-server/cert.pem */ class MySslEchoServer { pu ... "Invalid port\n" ); } $l = new MySslEchoServer ( $port ); $l -> dispatch (); ?> 例5 Signal handler <?php /* Launch it in a terminal window: $ php examples/signal.php In another terminal window find out the pid and send SIGTERM, e.g.: $ ps aux | grep exam ...
https://man.mtool.work/php/8.3/event.examples.html
Event::add — Makes event pending | PHP 8.3 9011
Event::add (PECL event >= 1.2.6-beta) Event::add — Makes event pending 説明 public function Event::add ( float $timeout = ? ): bool Marks event pending. Non-pending event will never occur, and the event callback will never be called. In con ... ds. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 Adding a custom signal <?php /* Launch it in a terminal window: $ php examples/signal.php In another terminal window find out the pid and send SIGTERM, e.g.: $ ps aux | grep exam ... xamples/signal.php ruslan 3978 0.0 0.0 9572 864 pts/2 S+ 10:26 0:00 grep --color=auto examp $ kill -TERM 3976 At the first terminal window you should catch the following: Caught signal 15 */ class MyEventSignal { private $base , $ev ; public function __c ...
https://man.mtool.work/php/8.3/event.add.html
Parle\Parser::left — Declare a token with left-associativity | PHP 8.3 7633
Parle\Parser::left (PECL parle >= 0.5.1) Parle\Parser::left — Declare a token with left-associativity 説明 public function Parle\Parser::left ( string $tok ): void Declare a terminal with left associativity. パラメータ tok Token name. 戻り値 ...
https://man.mtool.work/php/8.3/parle-parser.left.html
Parle\Parser::nonassoc — Declare a token with no associativity | PHP 8.3 7633
Parle\Parser::nonassoc (PECL parle >= 0.5.1) Parle\Parser::nonassoc — Declare a token with no associativity 説明 public function Parle\Parser::nonassoc ( string $tok ): void Declare a terminal, that cannot appear more than once in the row. ...
https://man.mtool.work/php/8.3/parle-parser.nonassoc.html
Parle\Parser::right — Declare a token with right-associativity | PHP 8.3 7633
Parle\Parser::right (PECL parle >= 0.5.1) Parle\Parser::right — Declare a token with right-associativity 説明 public function Parle\Parser::right ( string $tok ): void Declare a terminal with right associativity. パラメータ tok Token name. ...
https://man.mtool.work/php/8.3/parle-parser.right.html
Parle\Parser::token — Declare a token | PHP 8.3 7633
Parle\Parser::token (PECL parle >= 0.5.1) Parle\Parser::token — Declare a token 説明 public function Parle\Parser::token ( string $tok ): void Declare a terminal to be used in the grammar. パラメータ tok Token name. 戻り値 値を返しません。 ...
https://man.mtool.work/php/8.3/parle-parser.token.html
Parle\RParser::nonassoc — Declare a token with no associativity | PHP 8.3 7633
Parle\RParser::nonassoc (PECL parle >= 0.7.0) Parle\RParser::nonassoc — Declare a token with no associativity 説明 public function Parle\RParser::nonassoc ( string $tok ): void Declare a terminal, that cannot appear more than once in the ro ...
https://man.mtool.work/php/8.3/parle-rparser.nonassoc.html
Parle\RParser::right — Declare a token with right-associativity | PHP 8.3 7633
Parle\RParser::right (PECL parle >= 0.7.0) Parle\RParser::right — Declare a token with right-associativity 説明 public function Parle\RParser::right ( string $tok ): void Declare a terminal with right associativity. パラメータ tok Token nam ...
https://man.mtool.work/php/8.3/parle-rparser.right.html
PREV 1 2 3 4 5 NEXT