Hi,
I don't understand this function( error_reporting()). You're supposed to pass in an int level but how do I know what kind of levels are there?
eg.
/* ...in PHP 4, '55' would mean (E_ERROR | E_WARNING | E_PARSE |
E_CORE_ERROR | E_CORE_WARNING) */
is '55' calculated in some way by adding the constants?
Anyway, reporting 0 doesn't work all the time too. It'll still display parse errors. Is that the way it's supposed to be?
Thank you for your time
I don't understand this function( error_reporting()). You're supposed to pass in an int level but how do I know what kind of levels are there?
eg.
/* ...in PHP 4, '55' would mean (E_ERROR | E_WARNING | E_PARSE |
E_CORE_ERROR | E_CORE_WARNING) */
is '55' calculated in some way by adding the constants?
Anyway, reporting 0 doesn't work all the time too. It'll still display parse errors. Is that the way it's supposed to be?
Thank you for your time
Last edited: