Php: Displaying errors
By admin • Sep 21st, 2008 • Category: php, programming, rantsIf you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Today I got into a wonderful debate about php errors.
I myself prefer to have the system handle the suppression of errors at system init (turn error displaying to off), and only use error suppression (@function) when needed.
Why? @function is slower than function. Why add a performance decrease when its not needed?
Anyways wondering what others think about this? I’m not sayign build code with errors, but things like notices should not be issues to a live site. If your handling / processing / logging your errors, do you really think you need to also suppress errors?
admin is
Email this author | All posts by admin






