PHP try Keyword

PHP Keywords : Use a try...catch statement to handle exceptions

Definition and Usage

The try keyword is used to create a try...catch, or a try...catch...finally statement.

Related Pages

The throw keyword.

The catch keyword.

The finally keyword.

Read more about try..catch.finally (Exceptions) in our PHP Exceptions Tutorial.

❮ PHP Keywords