-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
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
Zend incompatibility: Generator::send returns null #6807
Comments
This issue makes advanced features of the AWS SDK for PHP and Guzzle 6 incompatible with HHVM. Any chance this could at least be acknowledged and labeled as a Zend incompatibility? |
Just ran into this and noticed it's a year old... is this on the roadmap to fix? |
This is still an issue, even with later HHVM-versions, right? |
Yep it still is, but the hhi notes that it returns |
Hi, I am reading HHVM issues to see which issues are unlikely to be fixed. This issue was created because HHVM's behavior was/is different from PHP's. HHVM stopped striving from php compatibility with the release of version 4.0.0. The current behavior, although different, is not buggy or broken. The HHI also notes that send will return void (which is a |
Generator::send
appears to returnnull
instead of the value yielded. This breaks Guzzle coroutines, which yield out promises and expect the value which fulfills each promise to be sent back in.Reproduction script: https://3v4l.org/fMsKp
With more verbose output: https://3v4l.org/mMvOC
The text was updated successfully, but these errors were encountered: