This changeset fixes any invalid references in the exception stack trace. This is a pretty nasty bug that has been introduced a few months ago with #270 that only happens on PHP 7+ when printing the exception trace ($exception->getTraceAsString()). This is now covered by the updated test suite and should work across all supported PHP versions.
This changeset fixes any invalid references in the exception stack trace. This is a pretty nasty bug that has been introduced a few months ago with #270 that only happens on PHP 7+ when printing the exception trace (
$exception->getTraceAsString()
). This is now covered by the updated test suite and should work across all supported PHP versions.Builds on top of https://github.com/clue/reactphp-socks/pull/104 and #270