SectionΒ 1. ChapterΒ 2
single
Challenge: Identify and Classify Errors
Swipe to show menu
Task
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.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat