This keyword (exit) stops the code execution after it. Statements after exit will not run.
<?php
echo "Jaischool";
exit;
echo "This statement will not be executed.";
?>
Date Published: 03/02/2021 Published By: JaiSchool
This keyword (exit) stops the code execution after it. Statements after exit will not run.
<?php
echo "Jaischool";
exit;
echo "This statement will not be executed.";
?>
Publish A Comment