In this tip and trick, Iím going to explain how to make code optimization on your application. The main purpose of this code optimization is to get more faster code execution. The elementary key is by writing code effectively and efficiently. Because PHP codes going to execute every time they are requested.

Avoid space in your code

Avoid using many spaces () is a good thing. Every space is 1 byte and every tab (\t) is 1 byte. When youíre using four spaces, youíve been use 4 bytes. Itís more effective if youíre using a tab (\t).