Avoid overusing function calls. Calling a function in PHP is very expensive, so avoid it whenever you can.