Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8638893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:51:22+00:00 2026-06-12T10:51:22+00:00

While developing a php web system, setting E_ALL | E_STRICT to error_reporting and taking

  • 0

While developing a php web system, setting E_ALL | E_STRICT to error_reporting and taking care of all kind of errors including notice errors is good practice.

But in the released system, should I stop the system when notice error occurred?

Or should I stop the system only when E_ERROR occurred and ignore all other errors such as E_WARNING, E_NOTICE, or E_STRICT?

Which types of errors should I handle in my custom error handler and stop(exit) the system?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T10:51:23+00:00Added an answer on June 12, 2026 at 10:51 am

    When you develop a code you should take care of any warning including notices.

    For production your should not really halt on errors. Instead you can use set_error_handler() to manage any errors such as E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE. Redirect client to custom page, display a custom message for any type of error. The point is not to leave the default error information.

    You should always have a system that reports any errors encountered to yourself (via e-mail or such) on production servers and take care of them as soon as possible.

    On php.net/set_error_handler you have plenty of examples that will make your life a lot easier and help you track errors and warnings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently developing a PHP MVC Framework for a personal project. While I
While developing a Java project, I place all of my jar files in a
I am in the middle of developing a PHP social media web application which
While developing a joomla plugin, if my plugin folder looks like so: /install.xml /mainPg.php
This is a trick question, while developing a php+ajax application i felt into some
I've been developing in PHP for a while now but only recently made the
I've been developing a web application with PHP and MySQL. The other day, I
As part of a university project I'm developing a web application in PHP and
I'm developing a client management system for my workplace using PHP and MySQL. Every
I've been developing in PHP for a while now, and I still have not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.