clue ยท GitHub

The code below has been introduced via #29 to work around an issue for legacy PHP < 5.4 only, but was later fixed upstream in the Stream component via reactphp/stream#80 which later landed here via #38 so that this work around is no longer needed here ๐Ÿ‘

This is merely a code cleanup because this code is in fact no longer needed and has zero effect right now (this is covered by the tests introduced via #29). A similar (but unrelated) issue has been raised in #40 which I'd like to address separately once we try to reproduce this. For the reference: The original issue boils down to an issue in PHP itself and it's very likely we'll see something similar here: reactphp/stream#78

Read the original on github.com โ†—