[xdebug-general] Re: eval seems to always give "error evaluating code"

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 19 Apr 2006 17:56:07 +0200 (CEST)

On Tue, 18 Apr 2006, Ben Dilts wrote:

> I very much appreciate the fast response. Unfortunately, I'm getting
> the same result, even with the exact string you specified:
> DBG: <init fileuri="file:///C%3A%5CApache2%5Chtdocs%5Cindex.php"
> language="PHP" protocol_version="1.0" appid="2448" idekey="test"> ...
> etc ...</init>
> IDE: eval -i 1 -- ZWNobyAnaGVsbG8nOw==
> DBG: <response command="eval" transaction_id="1" status="starting"
> reason="ok"><error code="206"><message><![CDATA[error evaluating
> code]]></message></error></response>

Seems to be a bug, but I can't quite find it yet as it seems to be
problematic in zend_eval_string. Can you file a quick bugreport for this
at http://bugs.xdebug.org so that I won't forget about it? Instead of
echo you can use "print" though, which works fine.


Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Wed Apr 19 2006 - 17:57:16 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST