What if the PHP server failed and the HTML is still loaded (is this possible), can the user see the PHP script?
Security holes aside, this usually happens when someone messes with the server or transfers the site to servers and PHP files, is unloaded into a folder that is not configured to run PHP. This is the price you pay to deploy PHP, as simple as deleting files in a folder.
, PHP, , (, ) PHP, - (, URL /, htdocs). , .
( , , , .)