Skip to content

Glossary: PHP Basics

catch

The part of a `try` statement that handles an exception of a named class, with the exception object available in a variable such as `$e`.

Where the book teaches it

Related terms

tryexceptionfinally