« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 5 of about 5 for pipes (0.040 sec.)
proc_open — コマンドを実行し、入出力用にファイルポインタを開く | PHP 8.3 12464
proc_open (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) proc_open — コマンドを実行し、入出力用にファイルポインタを開く 説明 function proc_open ( array | string $command , array $descriptor_spec , array &$pipes , ? string $cwd = null , ? array $env_ ... 渡したいとき威力を発揮します。 補助的なファイルディスクリプタを介して、そのようなプログラムの 状態を取得するのにも便利です。 pipes PHP 側で生成されたパイプの終端にあたる ファイルポインタの配列。 cwd コマンドの初期作業ディレクトリ。 完全 パスである必要が ... の関数が出力するエラーを抑制します。 bypass_shell (windows のみ): true にすると、 cmd.exe シェルをバイパスします。 blocking_pipes (windows のみ): true に設定すると、パイプを強制的にブロッキングモードにします。 create_process_group (Windows のみ): true ... き込みます。 ); $cwd = '/tmp' ; $env = array( 'some_option' => 'aeiou' ); $process = proc_open ( 'php' , $descriptorspec , $pipes , $cwd , $env ); if ( is_resource ( $process )) { // $pipes はこの時点で次のような形を取っています。 // 0 => 子プロセスの ...
https://man.mtool.work/php/8.3/function.proc-open.html
sapi_windows_generate_ctrl_event — CTRLイベント を別プロセスに送信する | PHP 8.... 9670
sapi_windows_generate_ctrl_event (PHP 7 >= 7.4.0, PHP 8) sapi_windows_generate_ctrl_event — CTRLイベント を別プロセスに送信する 説明 function sapi_windows_generate_ctrl_event ( int $event , int $pid = 0 ): bool 同じプロセスグループの別プロセ ... 'pipe' , 'w' ], [ 'pipe' , 'w' ]); $options = [ 'create_process_group' => true ]; $proc = proc_open ( $cmd , $descspec , $pipes , null , null , $options ); while ( true ) { echo fgets ( $pipes [ 1 ]); } ?> 参考 proc_open() - コマンドを実行し、入出力用 ... を開く sapi_windows_set_ctrl_handler() - CTRLイベント のハンドラを設定したり削除したりする 他のマニュアルの関連ページ Python pipes Linux JM pipe(2) Linux JM proc(5) Python asyncio-platforms Linux JM pipe(7) Python asyncio-llapi-index ...
https://man.mtool.work/php/8.3/function.sapi-windows-generate-ctrl-event.html
新機能 | PHP 8.3 8696
新機能 PHP コア 型付きプロパティ クラスのプロパティは、新たに型宣言をサポートするようになりました <?php class User { public int $id ; public string $name ; } ?> 上の例は、 $user->id には int の 値だけを、そして $user->name には string の値だ ... HP が必要な引数のエスケープをすべて行います。 <?php proc_open ([ 'php' , '-r' , 'echo "Hello World\n";' ], $descriptors , $pipes ); ?> proc_open() が、 redirect と null ディスクリプタをサポートしました。 <?php // シェルにおける 2>&1 のような操作 proc_ ... open ( $cmd , [ 1 => [ 'pipe' , 'w' ], 2 => [ 'redirect' , 1 ]], $pipes ); // シェルにおける 2>/dev/null や 2>nul のような操作 proc_open ( $cmd , [ 1 => [ 'pipe' , 'w' ], 2 => [ 'null' ]], $pipe ... () 関数は sodium 拡張モジュールの argon2i と argon2id を使った実装を使うようになります。 他のマニュアルの関連ページ Python pipes Django 5.0.10 Django 4.2.17 Django 5.1.4 Linux JM factor(1) Linux JM proc(5) ...
https://man.mtool.work/php/8.3/migration74.new-features.html
The SyncSharedMemory class | PHP 8.3 7850
The SyncSharedMemory class (PECL sync >= 1.1.0) はじめに A cross-platform, native, consistent implementation of named shared memory objects. Shared memory lets two separate processes communicate without the need for complex pipes or sockets ...
https://man.mtool.work/php/8.3/class.syncsharedmemory.html
新機能 | PHP 8.3 7225
新機能 PHP コア 名前付き引数 名前付き引数 のサポートが追加されました。 アトリビュート アトリビュート のサポートが追加されました。 コンストラクタのプロパティ昇格機能 コンストラクタの引数をプロパティへ昇格させる機能 が追加されました。 union 型 ... tdin , stdout , stderr を同じPTYにアタッチします: <?php $proc = proc_open ( $command , [[ 'pty' ], [ 'pty' ], [ 'pty' ]], $pipes ); ?> proc_open() 関数は、 ソケットペアのディスクリプタをサポートするようになりました。 以下のコードは、異なるソケットペア ... tdin , stdout , stderr にアタッチします: <?php $proc = proc_open ( $command , [[ 'socket' ], [ 'socket' ], [ 'socket' ]], $pipes ); ?> Windows では、パイプと異なり、ソケットは ブロッキングI/O の問題の影響を受けません。 しかし、全てのプログラムが標準入 ...
https://man.mtool.work/php/8.3/migration80.new-features.html
PREV 1 NEXT