« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 20 for finished (0.001 sec.)
ftp_nb_continue — ファイルの取得/送信を継続する(非ブロッキング) | PHP 8.3 11334
ftp_nb_continue (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) ftp_nb_continue — ファイルの取得/送信を継続する(非ブロッキング) 説明 function ftp_nb_continue ( FTP\Connection $ftp ): int 非ブロッキングモードで、ファイルの取得/送信を継続します。 パラ ... メータ ftp FTP\Connection クラスのインスタンス 戻り値 FTP_FAILED 、 FTP_FINISHED あるいは FTP_MOREDATA を返します。 変更履歴 バージョン 説明 8.1.0 引数 ftp は、 FTP\Connection のインスタンスを期待するよう ... _BINARY ); while ( $ret == FTP_MOREDATA ) { // ダウンロードを継続する… $ret = ftp_nb_continue ( $ftp ); } if ( $ret != FTP_FINISHED ) { echo "There was an error downloading the file..." ; exit( 1 ); } ?> 他のマニュアルの関連ページ Python exceptions Pytho ...
https://man.mtool.work/php/8.3/function.ftp-nb-continue.html
ftp_nb_put — FTP サーバーにファイルを保存する(非ブロッキング) | PHP 8.3 11334
ftp_nb_put (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) ftp_nb_put — FTP サーバーにファイルを保存する(非ブロッキング) 説明 function ftp_nb_put ( FTP\Connection $ftp , string $remote_filename , string $local_filename , int $mode = FTP_BINARY , in ... BINARY のどちらかを指定する必要があります。 offset リモートファイル内での、アップロード開始位置。 戻り値 FTP_FAILED 、 FTP_FINISHED あるいは FTP_MOREDATA を返します。 ローカルファイルのオープンに失敗した場合、 false を返します。 変更履歴 バージョン 説明 ... REDATA ) { // 何かお好みの動作を echo "." ; // アップロードを継続する… $ret = ftp_nb_continue ( $ftp ); } if ( $ret != FTP_FINISHED ) { echo "There was an error uploading the file..." ; exit( 1 ); } ?> 例2 ftp_nb_put() でアップロードを再開する <?php // 開 ... REDATA ) { // 何かお好みの動作を echo "." ; // アップロードを継続する… $ret = ftp_nb_continue ( $ftp ); } if ( $ret != FTP_FINISHED ) { echo "There was an error uploading the file..." ; exit( 1 ); } ?> 参考 ftp_nb_fput() - オープン中のファイルを FTP サー ...
https://man.mtool.work/php/8.3/function.ftp-nb-put.html
MessageFormatter::formatMessage — 手早くメッセージをフォーマットする | PHP 8.3 10808
MessageFormatter::formatMessage msgfmt_format_message (PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL intl >= 1.0.0) MessageFormatter::formatMessage -- msgfmt_format_message — 手早くメッセージをフォーマットする 説明 オブジェクト指向型 public static fun ... er} Bäumen sind {2,number} Affen pro Baum\n" , array( 4560 , 123 , 4560 / 123 )); echo msgfmt_format_message ( "en" , 'You finished {place, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}!' , [ 'place' => 3 ]), "\n" ; echo msgfmt_format_message ... ind {2,number} Affen pro Baum\n" , array( 4560 , 123 , 4560 / 123 )); echo MessageFormatter :: formatMessage ( "en" , 'You finished {place, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}!' , [ 'place' => 3 ]), "\n" ; echo MessageFormatter :: f ... なります。 4,560 monkeys on 123 trees make 37.073 monkeys per tree 4.560 Affen auf 123 Bäumen sind 37,073 Affen pro Baum You finished 3rd! There are no apples 例3 通常の通貨記号と、短い形式の通貨記号を使ってフォーマットするよう、ICU に指示する ICU ≥ 67 が必 ...
https://man.mtool.work/php/8.3/messageformatter.formatmessage.html
ftp_nb_get — FTP サーバーからファイルを取得し、ローカルファイルに書き込む(非ブ... 10553
ftp_nb_get (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) ftp_nb_get — FTP サーバーからファイルを取得し、ローカルファイルに書き込む(非ブロッキング) 説明 function ftp_nb_get ( FTP\Connection $ftp , string $local_filename , string $remote_filename , ... RY のどちらかを指定する必要があります。 offset ダウンロードを開始する、リモートファイル内の位置。 戻り値 FTP_FAILED 、 FTP_FINISHED あるいは FTP_MOREDATA を返します。 ローカルファイルをオープンできなかった場合は、 false を返します。 変更履歴 バージョン 説 ... REDATA ) { // 何かお好みの動作を echo "." ; // ダウンロードを継続する… $ret = ftp_nb_continue ( $ftp ); } if ( $ret != FTP_FINISHED ) { echo "There was an error downloading the file..." ; exit( 1 ); } ?> 例2 ftp_nb_get() でダウンロードを再開する <?php // ... REDATA ) { // 何かお好みの動作を echo "." ; // ダウンロードを継続する… $ret = ftp_nb_continue ( $ftp ); } if ( $ret != FTP_FINISHED ) { echo "There was an error downloading the file..." ; exit( 1 ); } ?> 例3 ftp_nb_get() を用い、ファイルの 100 バイト目以 ...
https://man.mtool.work/php/8.3/function.ftp-nb-get.html
Swoole\Server::finish — Used in task process for sending result to the worker p... 9754
Swoole\Server::finish (PECL swoole >= 1.9.0) Swoole\Server::finish — Used in task process for sending result to the worker process when the task is finished. 説明 public function Swoole\Server::finish ( string $data ): void パラメータ data ...
https://man.mtool.work/php/8.3/swoole-server.finish.html
ftp_nb_fget — FTP サーバーからファイルをダウンロードし、オープン中のファイルに... 9499
ftp_nb_fget (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) ftp_nb_fget — FTP サーバーからファイルをダウンロードし、オープン中のファイルに保存する(非ブロッキング) 説明 function ftp_nb_fget ( FTP\Connection $ftp , resource $stream , string $remote_f ... RY のどちらかを指定する必要があります。 offset ダウンロードを開始する、リモートファイル内の位置。 戻り値 FTP_FAILED 、 FTP_FINISHED あるいは FTP_MOREDATA を返します。 変更履歴 バージョン 説明 8.1.0 引数 ftp は、 FTP\Connection のインスタンスを期待するよう ... REDATA ) { // 何かお好みの動作を echo "." ; // ダウンロードを継続する… $ret = ftp_nb_continue ( $ftp ); } if ( $ret != FTP_FINISHED ) { echo "There was an error downloading the file..." ; exit( 1 ); } // ファイルポインタを閉じる fclose ( $fp ); ?> 参考 f ...
https://man.mtool.work/php/8.3/function.ftp-nb-fget.html
ftp_nb_fput — オープン中のファイルを FTP サーバーに保存する(非ブロッキング) |... 9499
ftp_nb_fput (PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8) ftp_nb_fput — オープン中のファイルを FTP サーバーに保存する(非ブロッキング) 説明 function ftp_nb_fput ( FTP\Connection $ftp , string $remote_filename , resource $stream , int $mode = FTP_B ... BINARY のどちらかを指定する必要があります。 offset リモートファイル内での、アップロード開始位置。 戻り値 FTP_FAILED 、 FTP_FINISHED あるいは FTP_MOREDATA を返します。 変更履歴 バージョン 説明 8.1.0 引数 ftp は、 FTP\Connection のインスタンスを期待するよう ... REDATA ) { // 何かお好みの動作を echo "." ; // アップロードを継続する… $ret = ftp_nb_continue ( $ftp ); } if ( $ret != FTP_FINISHED ) { echo "There was an error uploading the file..." ; exit( 1 ); } fclose ( $fp ); ?> 参考 ftp_nb_put() - FTP サーバーにフ ...
https://man.mtool.work/php/8.3/function.ftp-nb-fput.html
Pool::shutdown — Shutdown all workers | PHP 8.3 8955
Pool::shutdown (PECL pthreads >= 2.0.0) Pool::shutdown — Shutdown all workers 説明 public function Pool::shutdown (): void Shuts down all of the workers in the pool. This will block until all submitted tasks have been executed. パラメータ こ ... = 0 ; $i < 10 ; ++ $i ) { $pool -> submit (new Task ()); } $pool -> shutdown (); // blocks until all submitted tasks have finished executing 他のマニュアルの関連ページ Linux JM shutdown(2) Linux JM shutdown(8) Python concurrent.futures Django tasks Linu ...
https://man.mtool.work/php/8.3/pool.shutdown.html
Pool::collect — Collect references to completed tasks | PHP 8.3 8700
Pool::collect (PECL pthreads >= 2.0.0) Pool::collect — Collect references to completed tasks 説明 public function Pool::collect ( Callable $collector = ? ): int Allows the pool to collect references determined to be garbage by the optionall ... ++ $i ) { $pool -> submit (new class extends Threaded {}); } while ( $pool -> collect ()); // blocks until all tasks have finished executing $pool -> shutdown (); 他のマニュアルの関連ページ Linux JM pthreads(7) DuckDB PostgreSQL Extension Functions Duck ...
https://man.mtool.work/php/8.3/pool.collect.html
Worker::collect — Collect references to completed tasks | PHP 8.3 8428
Worker::collect (PECL pthreads >= 3.0.0) Worker::collect — Collect references to completed tasks 説明 public function Worker::collect ( Callable $collector = ? ): int Allows the worker to collect references determined to be garbage by the o ... ning on the stack to be collected\n" ; $worker -> start (); while ( $worker -> collect ()); // blocks until all tasks have finished executing echo "There are now { $worker -> collect ()} tasks on the stack to be collected\n" ; $worker -> shutdown (); 上の ...
https://man.mtool.work/php/8.3/worker.collect.html
PREV 1 2 NEXT