fieryprophet/php-sandbox — pull request #6 by santouras (2014-01-30 06:35:36+00:00)
Title: Re-throw PHPParser_Error

PHPParser_Error has really interesting information in it, like the proper error message and line number, which gets lost in a (string)$e conversion.

Setting it as the third param means we can access it with $e->getPrevious()