Sektion 1. Kapitel 2
single
Challenge: Identify and Classify Errors
Stryg for at vise menuen
Opgave
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
classifyErrorsfunction. - Return an array containing the classifications in the order of the error scenarios as described in the comments.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 2
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat