Code:
Windows Registry Editor Version 5.00
; Adds PHP files with a template file to the new context menu.
[HKEY_CLASSES_ROOT\.php]
@="phpfile"
[HKEY_CLASSES_ROOT\.php\OpenWithProgids]
"VSCode.php"=""
[HKEY_CLASSES_ROOT\.php\ShellNew]
"NullFile"="1"
"FileName"=hex(2):25,00,50,00,72,00,6F,00,67,00,72,00,61,00,\
6D,00,44,00,61,00,74,00,61,00,25,00,5C,00,4D,00,69,00,63,00,72,00,6F,00,\
73,00,6F,00,66,00,74,00,5C,00,57,00,69,00,6E,00,64,00,6F,00,77,00,73,00,\
5C,00,54,00,65,00,6D,00,70,00,6C,00,61,00,74,00,65,00,73,00,5C,00,74,00,\
65,00,6D,00,70,00,6C,00,61,00,74,00,65,00,2E,00,70,00,68,00,70,00,00,00
[HKEY_CLASSES_ROOT\phpfile]
@="PHP Script File"
It seems that you have to add a new filetype reference in the registry and point the extension to it. Then it will work. For the file path/name, I used Old Timers Registry Hex Converter which can be found here: