没有任何PHP的.php文件会被传递给解释器吗?

On a standard LAMP stack, do .php files without any PHP in them get passed to the PHP interpreter?

In other words, is there a performance/processing loss for creating a .php file without actually including any PHP in it, versus just making it a .html file?

On a standard LAMP stack, do .php files without any PHP in them get passed to the PHP interpreter?

Yup - after all, no other component except for the PHP parser is fit to decide whether the file contains PHP!

In other words, is there a performance/processing loss for creating a .php file without actually including any PHP in it, versus just making it a .html file?

Potentially, yes, although it will be minimal in most cases unless you have really, really loads of traffic.