Closed kelunik closed 7 years ago
Quite a few tests fail with OPCache enabled, because Socket::ask yields an empty array instead of an instance of Message.
Socket::ask
Message
"Solved" by https://github.com/amphp/dns/commit/e0fc018ad7473cd24b188323393476c5a19a6d35.
Is this (return yield) an issue in general with opcache or just this specific piece of code?
return yield
It's a general issue with opcache + return in try + finally.
return
try
finally
But just within Generators.
kk tnx both ❤️
Quite a few tests fail with OPCache enabled, because
Socket::ask
yields an empty array instead of an instance ofMessage
.