So I was wondering what are some good techniques to optimize PHP code for the fastest execution. I only technique I know is changing all lines of PHP code to 1 line execution. As far as I know that is one of the worst ways to optimize PHP because you need to make 2 copies of the PHP files.