Re: php editor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 13 Jan 2005 22:11:05 +0000, Justin <ilug@xxxxxxxxxxxxx> wrote:
> Is there a Debugger for PHP?

php -l filename.php for basic syntax check.

If you need more than that you can turn of full error reporting and
view the errors directly on the screen:

error_reporting( E_ALL );
ini_set( 'display_errors', 1 );

But later when you go to a production environment I'd go with:

error_reporting( E_ERROR | E_WARNING | E_PARSE );
ini_set( 'display_errors', 0 );
ini_set( 'log_errors', 1 );


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux