Topic: error_reporting

Just a general question, but is having punbb display all php errors really nessasary for release versions? And if so why. As I recall even the php documentation specifies something about not having it display all errors.

I enjoy pie :)

Re: error_reporting

its good practise really since it highlights any problems

Re: error_reporting

And what you're thinking of is in php.ini, although it's the opposite of what you said

; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
;     By default, PHP surpresses errors of type E_NOTICE.  These error messages
;     are emitted for non-critical errors, but that could be a symptom of a bigger
;     problem.  Most notably, this will cause error messages about the use
;     of uninitialized variables to be displayed.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: error_reporting

Thing is, if they aren't displayed, some bugs will go unnoticed.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: error_reporting

Alright, thanks for clearing that up.

I enjoy pie :)