[Solved] is it bad practice to kill a script inside of a function?
That is perfectly safe, if that is your question, since php as a quasi interpreted language does not leave any traces or artifacts when terminating the execution. If it is a good practice is another thing. I’d say it is fine for testing purposes, but you should avoid it in final code. Reason is that … Read more