Try `menu->Document->Set Filetype->Scripting Languages->PHP Source File`.
Because users can set the filetype, Geany will only recognise filetypes at the time a file is first opened, and then remembers the filetype whilst ever a file remains open, and even if Geany is quit and re-started with the file open it will retain the previous filetype. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1899#issuecomment-406266550
