Answers for "how to terminate php script"

PHP
5

php quit

exit();		// Normal exit

exit(1);	// Exit with an error code

exit('Error!');	// Exit and print an error message
Posted by: Guest on June-01-2020

Browse Popular Code Answers by Language