pht\Thread::addFileTaskFile threading 説明
public void pht\Thread::addFileTask
( string
$fileName
, mixed $globals
)Adds a new file task to a pht\Threads internal task queue. パラメータ
戻り値No return value. 例
例1 Adding a new file task to a thread
<?php file.php:
<?php 上の例の出力は以下となります。 int(1) int(2) int(3) |