PHP shebang is not recognized

Issue #1482 new
Anonymous created an issue

I work a lot with PHP executables which have the shebang #!/usr/bin/php . Unfortunately, the PHP lexer in Pygments does not check for a shebang, so pygments.lexers.guess_lexer() won't recognize that the source is PHP. It would be great if that could be fixed. Thank you very much.

Comments (0)

  1. Log in to comment