PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Debugging PHP> <Migrazione da PHP 4 a PHP 5
Last updated: Fri, 18 Jul 2008

view this page in

Error Reporting

As of PHP 5 new error reporting constant E_STRICT was introduced with value 2048. It enables run-time PHP suggestions on your code interoperability and forward compatibility, that will help you to keep latest and greatest suggested method of coding. E.g. STRICT message will warn you on using deprecated functions.

Nota: E_ALL does not include E_STRICT so it's not enabled by default



add a note add a note User Contributed Notes
Error Reporting
Anonymous
31-Mar-2008 03:52
To enable full error reporting (recommended for development boxes) use:

use error_reporting(E_ALL | E_STRICT);

or in php.ini:

error_reporting  =  E_ALL | E_STRICT

Debugging PHP> <Migrazione da PHP 4 a PHP 5
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites