Skip to content

Glossary: PHP Basics

exit

Also written: exit;

A statement that stops the script right there, optionally printing a message. It's used after a redirect or a failed token check.

Where the book teaches it

Related terms

redirectheader()