Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Challenge: Identify and Classify Errors | Understanding PHP Errors and Basic Exception Handling
/
PHP Error Handling and Exceptions
Seção 1. Capítulo 2
single

single

bookChallenge: Identify and Classify Errors

Deslize para mostrar o menu

Tarefa

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.

Solução

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
single

single

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

some-alt