Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Predict the output
/
PHP
/
Error handling
Which class name does this program print?
from Error handling
PHP 8.3.33
beginner
2 min
Which class name does this program print?
php
Copy
<?
php
try
{
strlen
(
[]
)
;
}
catch
(
Throwable
$failure) {
echo
$failure
::class
,
PHP_EOL
;
}
E_ERROR
ErrorException
TypeError
Exception
Check
Copy code
Open in playground
Ask AI about this kata
Report an error
previous kata
What must a custom error handler return when PHP default display or logging should still …
Quiz
next kata
What does this program print?
Predict the output
A new version is available
Reload