Quick ways to optimize PHP code - Stack Overflow
PHP code optimization - Stack Overflow
Zend Optimizer - Unlock Encrypted Code
https://stackoverflow.com/q/4298001/1035297
TL;DR - No.
I would contact the old developer. If he wrote company code during work hours I think he has no other option than unlock it. Check with you companies lawyer what options there are (e.g. suing the developer)
More on reddit.comWhat is the best free Image Optimizer?
How often should I use the PHP/Laravel Code Optimizer?
What coding standards does the PHP/Laravel Code Optimizer follow?
How does the optimizer improve code performance?
http://hungred.com/useful-information/php-micro-optimization-tips/
But then you have to balance that with how readable and understandable your code is.
The fastest is probably
echo "Hello ", "World";
if you have to echo two seperate strings/variables, as this avoids having to concatenate the strings. However, the difference is probably unnoticeable for any reasonable sized application.
But remember
Premature optimization is the root of all evil - Donald Knuth
However, it is nice to know the echo-comma syntax and use it where possible.