We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For this code:
$requests = function () use ($client, $urls, &$tempFiles) { // ... foreach ($urls as $url) { // ... yield $url => function ($poolOptions) use ($client, $url, $tmpFileName) { // ... return $client->getAsync($url, $requestOptions); }; } };
php7cc returns:
> Line 87: "yield" usage in expression context function () use($client, $urls, &$tempFiles) { };
Seems like there is no possible different behavior error in this code. Am I wrong?
The text was updated successfully, but these errors were encountered:
@skobkin I think you are right. This must be a bug in php7cc.
Sorry, something went wrong.
No branches or pull requests
For this code:
php7cc returns:
Seems like there is no possible different behavior error in this code. Am I wrong?
The text was updated successfully, but these errors were encountered: