PHP Basics Learning Mode

How can a script come to a clean termination?