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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Using yield from in PHP code causes an error: Unknown Expr Type Expr_YieldFrom.
yield from
Unknown Expr Type Expr_YieldFrom
PHP version: 7.4.3 progpilot version: 0.7.0 Configuration: default Code I'm trying to analyze:
function test() { yield from ['foo' => 123]; }
> progpilot --version progpilot 0.7.0 > php --version PHP 7.4.3 (cli) (built: Mar 2 2022 15:36:52) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies richard@richardspc ~> progpilot --version progpilot 0.7.0 > cat test.php <?php function test() { yield from ['foo' => 123]; } foreach (test() as $key => $value) { echo "$key: $value\n"; } > php test.php foo: 123 > progpilot test.php Unknown Expr Type Expr_YieldFrom
The text was updated successfully, but these errors were encountered:
if you have time to try with the latest progpilot version (v1.0.0)
Eric
Sorry, something went wrong.
progpilot version (v1.0.2) should solve this.
No branches or pull requests
Using
yield from
in PHP code causes an error:Unknown Expr Type Expr_YieldFrom
.PHP version: 7.4.3
progpilot version: 0.7.0
Configuration: default
Code I'm trying to analyze:
Raw log
The text was updated successfully, but these errors were encountered: