Bird
0
0

What does the PHP error level E_NOTICE indicate?

easy📝 Conceptual Q2 of 15
PHP - Error and Exception Handling
What does the PHP error level E_NOTICE indicate?
AA serious error that stops script execution
BA minor run-time notice about possible issues
CA syntax error detected during parsing
DA warning about deprecated features
Step-by-Step Solution
Solution:
  1. Step 1: Define E_NOTICE in PHP

    E_NOTICE is a minor run-time notice indicating possible issues but does not stop execution.
  2. Step 2: Compare with other error levels

    Serious errors are E_ERROR, deprecated warnings are E_DEPRECATED, and syntax errors are E_PARSE.
  3. Final Answer:

    A minor run-time notice about possible issues -> Option B
  4. Quick Check:

    E_NOTICE = Minor run-time notice [OK]
Quick Trick: Notices are gentle hints, not errors. Think E_NOTICE [OK]
Common Mistakes:
  • Confusing notices with errors
  • Mixing E_NOTICE with E_WARNING
  • Assuming notices stop execution

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PHP Quizzes