Results of 1 - 1 of about 1 for nparent (0.000 sec.)
- The parallel\Future class | PHP 8.3 9414
- The parallel\Future class (0.8.0) Futures A Future represents the return value or uncaught exception from a task, and exposes an API for cancellation. 例1 Example showing Future as return value <?php $runtime = new \parallel\Runtime ; $futu
... $i = 0 ; $i < 500 ; $i ++) { if ( $i % 10 == 0 ) { echo "." ; } } echo " leaving child" ; }); $future -> value (); echo "\nparent continues\n" ; ?> 上の例の出力は、 たとえば以下のようになります。 in child ............................................... ...
-
https://man.mtool.work/php/8.3/class.parallel-future.html
PREV
1
NEXT