Background: My script recently behaved badly, hogging the server threatening to crash it. I am pretty sure it was due to an infinite loop, and I think I know how to safeguard against it. (The error was: Fatal error: Maximum execution time of 30 seconds exceeded. The code normally should finish in a second).
Issue: To avoid similar server impact, what else, if anything, need I learn about, (other than making sure potentially infinite loops are finite)?
I don't have a problem with errors generally, If my output turns ugly, so be it. I just can't afford the kind of malfunction that makes server admins unhappy.