react-php/react — pull request #77 by nobody1986 (2012-10-13 02:25:52+00:00)
Title: PHP Fatal error:  Wrong parameters for ErrorException

if feof($this->stream) is true
default value of $lastError = array(
'number' => '',
'message' => '',
'file' => '',
'line' => '',
);
the parameters of ErrorException::__construct is
[string $exception [, long $code, [ long $severity, [ string $filename, [ long $lineno [, Exception $previous = NULL]]]]]]
the type is wrong and will cause a error.