parallel
parallel copied to clipboard
A succinct parallel concurrency API for PHP8
php7.2.34-ts parallel=1.1.4 Call to undefined method parallel\\Runtime\\Type\\Unavailable::request()
use Illuminate\Http\Request; use GuzzleHttp\Client; use parallel\Runtime; $urls = array( 'https://www.example.com', 'https://www.google.com', 'https://www.facebook.com', 'https://www.github.com', 'https://www.stackoverflow.com', ); $client1 = new \GuzzleHttp\Client(); $runtime = new Runtime(); $promises = array(); foreach ($urls as $url)...
The bootstrap parameter doesn't seem to be being handled correctly. If you use composer's autoload file, for example, you will receive **every** parameter in your closure as if it was...
<?php $a = new \parallel\Sync; $b = new \parallel\Sync; ?> Running the above program using parallel v1.1.4 under PHP 7.2 under Windows will report the following error: Issue Signature: Problem...
I wonder how JIT deals with parallel? Does JIT compile the $process function (and everything called inside) every time it is run(), or it can be compiled only once and...
Hi  ```php
Hello, Ok, so I've seen some odd error states show up when running some recent thread tests. Under certain conditions we were faced with a script that died in the...
Hi **a.php** ```php
I've had a lot of segfaults with xdebug enabled, which are hard to reproduce in simple test cases, and I only found out by running php through gdb. In my...
Tried everything (as described [here](https://stackoverflow.com/questions/57800012/) ) but still it ends with "ERR_CONNECTION_RESET". Any solutions to make it work on wamp-server? (btw, I saw similar [issue here](https://github.com/krakjoe/parallel/issues/173), but it does not...