[xdebug-general] Re: xdebug question

From: Costas Menico <costas[@]meezon.com>
Date: Tue, 20 Jun 2006 08:15:01 -0400

When I use runkit_lint() the message is printed to the screen or browser. Is
there a way to route the message to a variable?
E.g.

if (!runkit_lint($src)) {

catch message here.

}
Thanks
On 6/20/06, Sean Coates <sean[@]caedmon.net > wrote:
>
> >> Is there a way to syntax (lint) check a file and report back the error?
>
> >
> > php -l
>
> You can actually do this programmatically with runkit:
> http://php.net/runkit-lint
>
> S
>
>
>

-- 
Costas
201-638-1809
Received on Tue Jun 20 2006 - 14:15:06 BST

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