Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Identify and Classify Errors | Understanding PHP Errors and Basic Exception Handling
PHP Error Handling and Exceptions
Секція 1. Розділ 2
single

single

bookChallenge: Identify and Classify Errors

Свайпніть щоб показати меню

Завдання

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.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 2
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

some-alt