This question refers to performance, not to file size.
I know there are “min” files for javascript and css, but what about optimizing PHP scripts. Of course you will want to keep a copy of the scripts in human readable format. However, for the version running on the production server, will it perform better if it is “optimized” by removing all of the unecessary space and newline / tab characters?
Any benchmarks on this?
This has already been discussed some via another question here that you might want to look at: php source code whitespace
Also, while I’ve never personally made use of it, there appears to be a command “php -w” which removes all whitespace and comments for you, should you want to go that route.