mychel_normandeau
asked on
PHP error reporting
Hello!
In my PHP.ini I have:
error_reporting = E_ALL & ~E_NOTICE
But I want any warning, error, hints... Anything PHP can tell me to improve my code... displayed to me straight in the (HTML) output.
Does:
error_reporting = E_STRICT & ~E_NOTICE
will do the job?
I use PHP 5.2.1.
In my PHP.ini I have:
error_reporting = E_ALL & ~E_NOTICE
But I want any warning, error, hints... Anything PHP can tell me to improve my code... displayed to me straight in the (HTML) output.
Does:
error_reporting = E_STRICT & ~E_NOTICE
will do the job?
I use PHP 5.2.1.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
error_reporting = E_ALL | E_STRICT
Will also display messages in output ?
Will also display messages in output ?
ASKER
error_reporting = E_ALL | E_STRICT
Will also display messages in output ?
and what about E_RECOVERABLE_ERROR ?
Will also display messages in output ?
and what about E_RECOVERABLE_ERROR ?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
error_reporting = E_ALL