Reply to Re: [PHP] php editor

Your name:

Reply:


Posted by Greg Donald on 01/14/05 07:14

On Thu, 13 Jan 2005 22:11:05 +0000, Justin <ilug@maccarthy.org> 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/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация