Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lernen Challenge: Identify and Classify Errors | Understanding PHP Errors and Basic Exception Handling
Practice
Projects
Quizzes & Challenges
Quizze
Challenges
/
PHP Error Handling and Exceptions
Abschnitt 1. Kapitel 2
single

single

bookChallenge: Identify and Classify Errors

Swipe um das Menü anzuzeigen

Aufgabe

Swipe to start coding

You are given a PHP script containing five different code issues. Your task is to classify each issue as either a notice, warning, or fatal error.

  • Assign the correct classification for each error scenario in the classifyErrors function.
  • Return an array containing the classifications in the order of the error scenarios as described in the comments.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

some-alt