A file named “.php” without anything prior to the .php does not load the PHP syntax highlighting.
This is working as designed
why would you have files with only an extension anyway?