Skip to content

exit ​

php
void exit ()

Stops execution of the rest of the script.

Example:

php
print('This text is displayed');
exit();
print('This text is not displayed');

Result:

This text is displayed