|
Threaded::fromCreation Warning
This method has been removed in pthreads v3. Description
public Threaded Threaded::from
( Closure
$run
[, Closure $construct
[, array $args
]] )Creates an anonymous Threaded object from closures Parameters
Return ValuesA new anonymous Threaded object Examples
Example #1 Thread safe objects from closures
<?php The above example will output: Hello World |