Explain what the different PHP errors are

Technology Community › Category: PHP › Explain what the different PHP errors are
VietMX Staff asked 5 years ago
  • A notice is a non-critical error saying something went wrong in execution, something minor like an undefined variable.
  • A warning is given when a more critical error like if an include() command went to retrieve a non-existent file. In both this and the error above, the script would continue.
  • A fatal error would terminate the code. Failure to satisfy a require() would generate this type of error, for example.